litestack
firestarter
litestack | firestarter | |
---|---|---|
16 | 5 | |
898 | 28 | |
- | - | |
9.0 | 6.2 | |
4 days ago | about 1 year ago | |
Ruby | TypeScript | |
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.
litestack
-
Speed Up Your Ruby on Rails Application with LiteCache
The benchmarks for LiteCache are impressive, with a small caveat. While LiteCache outperforms a local Redis installation for every read operation, it seems like there's still room for improvement, especially for large write payloads.
-
Stream Updates to Your Users with LiteCable for Ruby on Rails
Luckily, the official LiteStack benchmarks include measurements for LiteCable against Redis, which I am going to quote here.
-
Handle Incoming Webhooks with LiteJob for Ruby on Rails
Let's quickly look into how LiteJob uses SQLite to implement a job queueing system. In essence, the class Litequeue interfaces with the SQLite queue table. This table's columns, like id, name, fire_at, value, and created_at, store and manage job details.
- All-in-one Ruby gem for webapp data infrastructure
-
An Introduction to LiteStack for Ruby on Rails
Next, we install LiteStack using the shipped generator:
-
I'm All-In on Server-Side SQLite
Related: I wrote a piece last week on deploying Rails apps to production on Fly.io at https://fly.io/ruby-dispatch/sqlite-and-rails-in-production/
The work that’s made this possible is:
1. Litestack - https://github.com/oldmoe/litestack
2. Fly.io’s work on the dockerfile-rails generator detecting Sqlite and Litestack in a Rails project, then setting up sane defaults for where that data is stored and persisted in production. This is all done behind the scenes with no intervention required from the person deploying.
3. Servers are overall faster and more powerful
I hope more Rails hosts make it easier and safer to deploy Sqlite to production. It will lower costs and reduce complexity for folks deploying apps.
-
Extralite 2.0 has been released!
Didn't know that one! The litestack.gemspec shows it's a wrapper around the sqlite3 gem. So, not really comparable...
-
LiteFS Cloud: Distributed SQLite with Managed Backups
I’m working on this for Rails apps at https://github.com/oldmoe/litestack/pull/12
The idea is that people with small-to-medium size Rails Turbo apps should be able to deploy them without needing Redis or Postgres.
I’ve gotten as far as deploying this stack _without_ LiteFS and it works great. The only downside is the application queues requests on deploy, but for some smaller apps it’s acceptable to have the client wait for a few seconds while the app restarts.
When I get that PR merged I’ll write about how it works on Fly and publish it to https://fly.io/ruby-dispatch/.
-
Ask HN: What's the fastest and simplest way to prototype a web app in 2023?
Rails is the way to go. The productivity of the Ruby language is insane. It's battle tested for decades and you can easily scale your prototype.
If you want a simple app served on a single host you can try LiteStack [0] so you don't need a Redis/Postgres/Sidekiq instance, just SQLite.
Laravel is also good if you like PHP language.
[0] https://github.com/oldmoe/litestack
- Litestack: A Ruby gem that provides an all-in-one solution for web application
firestarter
-
Ask HN: Side project of less than $2k MRR, what's your project?
Building a SaaS and web app starter kit https://github.com/mcapodici/firestarter using NextJS, Firebase and Tailwind
Working on a ChatGPT tutorial now for it:
-
Ask HN: What projects did you build to get better as a programmer?
I agree. I accidentally ended up using the very basic todolist in my starter kit https://github.com/mcapodici/firestarter for all my todos! And noticed the ui and ux issues as a result.
-
Ask HN: What's the fastest and simplest way to prototype a web app in 2023?
My open source project is mostly aimed at this. Happy to help out early adopters (find me on twitter @mcapodici)
https://github.com/mcapodici/firestarter
1. Check
2. Check: I started using github spaces developing this
3. Check
4. Uses Firebase, trading off open sourceness for convenience
-
Ask HN: What Are You Working On? (March 2023)
Firestarter https://github.com/mcapodici/firestarter, is perhaps a more humble project than most.
It is an attempt to build what is (in my opinion!) a great stack for quickly iterating on a web app idea. Probably about a month off from first release, which will be a simple TODO app you can sign up for, with full instructions on getting it set up and deployed that would be about an hour's work. From that point you have a semi-professional setup with devops and CI taken care of so you can move faster on your idea or startup.
Uses Firebase/NextJs/Vercel/React/Tailwind/Github Actions/Jest/Testing Library
-
Ask HN: Founders, how much automated tests do you write?
This is something I have been considering as I work on firestarter [0] which is a going to be an open source starting point for building a SaaS.
I decided tests are a good thing to have, and especially when already set up and you can easily add more by following the pattern.
I prefer unit tests that are narrow in scope and avoid IO interactions (for example databases)
Of course anyone using my framework can ignore the tests if they desire. But my gut feeling is tests save you time in the short run as well as long run.
[0] https://github.com/mcapodici/firestarter
What are some alternatives?
extralite - Ruby on SQLite
dogma - Dogma: A modernized metalanguage with better expressiveness and binary grammar support
sqld - LibSQL with extended capabilities like HTTP protocol, replication, and more.
keygen-go - Keygen SDK for Go. Integrate license activation, automatic updates and offline licensing for Go binaries.
corrosion - Gossip-based service discovery (and more) for large distributed systems.
bind9_parser - Bind9 Parser in Python that can process all of ISC Bind configuration files
sqlite-y-crdt - Y-CRDT extension for SQLite
OnlineOrNot - The CLI for OnlineOrNot
mycelite - Mycelite is a SQLite extension that allows you to synchronize changes from one instance of SQLite to another.
foldie - Transfer files between Android and MacOS
replicate-rails - Replicate gem for Rails
mal - mal - Make a Lisp