bud
tetra
Our great sponsors
bud | tetra | |
---|---|---|
34 | 17 | |
5,493 | 513 | |
1.6% | - | |
4.3 | 0.0 | |
4 months ago | about 1 year ago | |
JavaScript | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bud
-
Is there a framework out for go that rivals Laravel as far as out of the box features and tools?
Hit me up if you have a longer time horizon and want to give https://github.com/livebud/bud a shot!
There is https://gobuffalo.io/ and there is https://github.com/livebud/bud. Both are interesting approaches, but sadly, without real business interest from the community. See, 90% of what makes Laravel Laravel (or Rails Rails) is business adoption. And, as you will sadly find out, the business adoption for traditional Web applications is exactly zero. If you don't want to make the same mistake as I did, and spend 3 years of your life searching for it, do as the others advised - just use the tools and frameworks that have already been built to solve the problem you need.
-
Purego – A library for calling C functions from Go without Cgo
Awesome!
This would be such a game-changer for server-side rendering Javascript in Go with V8.
I'd love to integrate this into Bud[1].
-
Best front-end stack for Golang backend
I've also been seeing updates on this project, which is kind of preferring Svelte https://github.com/livebud/bud
-
How to develop a Web app in go
https://github.com/livebud/bud - similar idea, but uses Svelte (a JS framework) to do the front end stuff. It’s smart enough to render the JS stuff on the server when possible, so you end up with the best of both worlds.
-
Anyone experienced in golang ssr?
https://github.com/livebud/bud this framework is achieving SSR in go. Not Vue specifically last I saw, but maybe you can draw inspiration from what they did https://www.reddit.com/r/golang/comments/uoxocj/bud_the_fullstack_web_framework_for_go_developers/i8ke92h/?utm_source=reddit&utm_medium=web2x&context=3
-
Does Go have an equivalent to Python's Flask and Django?
See https://github.com/livebud/bud to learn more.
-
Converting Svelte Code into HTML, CSS and JS with Python
An open-source GoLang project also took the same approach, livebud/bud.
-
I hate API development "as an indie dev"
It's not that I am not able to develop APIs, but being an indie dev makes me seek proper full-stack frameworks, so I have been seeking some frameworks, Rails is one of them. I have pretty confidently learnt Rails 7. But another GoLang framework popped up, which is Bud (aka LiveBud GoLang).
-
Matt Mueller: Building Modern Web Applications Faster With Bud
Ah cool! I'd like to support Vue through plugins rather than bake it in. There's an open discussion here on Vue support: https://github.com/livebud/bud/discussions/39
tetra
-
Coming to grips with JS: a Rubyist's deep dive
Then there are stack-specific libraries: StimulusReflex for Rails, Phoenix LiveView, Laravel Livewire, Unicorn and Tetra for Django, Blazor for .NET, … and the list goes on.
-
Unicorn – A full-stack web framework for Django
Unicorn is awesome, and I think most would agree that it's the Django communities answer to Livewire/Liveview/etc. Adam has built a brilliant project and the time he must dedicate to it is amazing!
Last year I had a month free and I had a go at building something for Django in this area, with a bunch of interesting ideas - built on Alpine.js, resumable server side component state, inline component templates. But sadly time is limited and I just can't spend the time needed to push it further. One day I may be able to pivot back to it: https://www.tetraframework.com/
-
Django 4.2 Released
There's a brilliant project called Django Unicorn that aims to be the equivalent of Laravel Livewire for Django. You should take a look.
https://www.django-unicorn.com/
That and HTMX + Alpine.js are a strong combination.
(I also had a bash at building a similar tool for Django called Tetra but unfortunately haven't had the time needed to commit to it: https://www.tetraframework.com)
-
Build a full-stack app with Tetra
Most full-stack applications separate frontend and backend code into distinct files; most web frameworks are built based on this structure. As the number of files and lines of code increases, it may increase the complexity of your codebase, thereby making it even more difficult to debug. The complexity caused by these separate files was minimized through the introduction of a framework called Tetra.
-
An SPA Alternative
One of my apps built on the Django+HTMX stack got traction and no matter how much I loved using HTMX, I found it’s not feasible to keep a clean codebase (facilitating new developers on the team as well) with this stack.
[Tetra](https://www.tetraframework.com/) might be an alternative if you’re hell-bent on not using React.
But, if you want to ship quick, have a maintainable codebase in a technology a lot of devs are familiar with and have the power to instantly have an app for mobile (and buy yourself some time to build one in React Native; code is going to be similar to React.js), I’d recommend using React.
You can use Capacitor.js for instantly shipping a mobile app with your codebase that “just works”. Use Capgo for affordable codepush and you’re set!
But then again, HTMX all the way if you’re not building an app cause not everything is an “app”. At the same time, if you’re building an app with a framework unlike Phoenix, I don’t see why would not go ahead and use a decent JS framework. It seems to be getting a lot of hate and I don’t understand if it’s because of the inability to learn React or what.
- The next big python module: Which libraries are you missing?
-
Is there a Turbo Links or Livewire alternative for Django?
tetra
-
Golang Web Framework that works hand in hand with Alpine.js
Recently I found a web framework the sits on top of Django and is specifically designed to work with Alpine.js (tetraframework.com). What makes it stand out is that HTMX or Hotwire isn't needed, as Tetra takes care of it. (discussion on ycombinator)
-
This week in Python
tetra – A full stack component framework for Django using Alpine.js – by @samwillis
-
Today’s JavaScript, from an outsider’s perspective (2020)
JS tooling has come a long way in the last couple of years, Vite for example is so much better than everything that came before. Esbuild is incredible and clearly the future of all JS build tools.
The trouble is that to people who are only just outside JS ecosystem it’s not very accessible. If you are a PHP, Python or Ruby developer who cut your teeth in the era of jQuery or earlier it can be quite difficult to make the transition.
Combining the modern JS environments with platforms like Django, Laravel or Rails often means having to install and setup from scratch a full Node/NPM toolchain in parallel with your backend toolchain. I believe this is some of the reason for such a disconnect between the the “backend” and “frontend” unless you go 100% JS. I think it's pushed a lot of devs who used to think of themselves as "full stack" towards the backend.
I’m trying to fix this with Tetra (https://www.tetraframework.com) for the Django ecosystem, the plan is to eventually bundle a esbuild/postcss/sass/less toolchain along with built in tools for installing JS dependancies so you can completely live within the Python/Django environment. It will manage all the complexities of JS tooling for you.
The vast majority of developers don't want to think about tooling, they just want to build something quickly and get it out there.
What are some alternatives?
Buffalo - Rapid Web Development w/ Go
quickjs - Public repository of the QuickJS Javascript Engine.
v8go - Execute JavaScript from Go
gomarvin - Generate Go REST servers with custom endpoints & typescript fetch clients
sqlc - Generate type-safe code from SQL
live - Live views and components for golang
cheerio - The fast, flexible, and elegant library for parsing and manipulating HTML and XML.
xo - Command line tool to generate idiomatic Go code for SQL databases supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server
gomodest-template - A template to build dynamic web apps quickly using Go, html/template and javascript
copper - 🚀 Copper is a Go toolkit complete with everything you need to build web apps.
htmx - </> htmx - high power tools for HTML
goja - ECMAScript/JavaScript engine in pure Go