| litestack | cookbook | |
|---|---|---|
| 24 | 27 | |
| 1,442 | 15,934 | |
| 0.4% | 4.2% | |
| 8.0 | 9.5 | |
| about 1 year ago | 6 days ago | |
| Ruby | Jupyter Notebook | |
| MIT License | Apache License 2.0 |
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
- The definitive guide to using Django with SQLite in production 💡
There has been a lot of conversation about using SQLite as a production database for websites for the past few years, espeically in the Rails community with Litestack. And now, in the latest version of Rails, SQLite has become the defacto backend for many parts of the stack.
- Rails for Everything
Are you confusing it with Litestream, the backup solution? https://litestream.io
What they meant was https://github.com/oldmoe/litestack which has a lot of things built on top of sqlite, like job queue and caches. Rails 8 now comes with most of them out of the box.
My SaaS ran on litestack until rails 8 came out, then I switched without problems.
- New 38 GitHub Repositories - Open Source of Dec 23, 2024
Github URL: https://github.com/oldmoe/litestack
- Litestack: All your data infrastructure, in one Ruby gem
Wow! The performance benchmarks against redis are very interesting.
https://github.com/oldmoe/litestack/blob/master/BENCHMARKS.m...
- SQLite on Rails: The how and why of optimal performance
Anyone who is looking at using SQLIte + Rails should check out the work done by Oldmoe (X/Github) on his Litestack project.
Here's the intro paragraph: "Litestack is a Ruby gem that provides both Ruby and Ruby on Rails applications an all-in-one solution for web application data infrastructure. It exploits the power and embeddedness of SQLite to deliver a full-fledged SQL database, a fast cache , a robust job queue, a reliable message broker, a full text search engine and a metrics platform all in a single package."
I'm currently using it on a project and can't say enough good things about it!
https://github.com/oldmoe/litestack
- litestack: SQLite database, cache, job queue, message broker for Rails
- Ask HN: How to build site with payment, subscriptions, user login, registration
Ruby on Rails, Pay Gem for Payments, Devise for Login/Registration (Auth), a StaticPages controller for Landing/Product pages.
I would then use the Litestack gem: https://github.com/oldmoe/litestack + SQLite to get your DB/Cache/Job Queue working, deploy with Kamal, behind Cloudflare on a $5 Hetzner VM.
I go from idea to live app in an afternoon with this stack. I haven't gotten around to it yet, but moving all my apps to essentially free analytics dashboard/visibility with https://github.com/benvinegar/counterscale, Free APM with ScoutAPM.
If anything is ever successful, scaling is super easy. Pay for a beefier Hetzner instance, and/or start to move your DB/Cache/Job Queue off of the litestack defaults with a single LOC. Move to AWS services because those are web scale or something.
I've yet to find a better stack for the vast majority of use cases.
- 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.
cookbook
- Simplifying basic (genAI) web app deployment with serverless
Cookbook repo
- Build with Nano Banana Pro, our Gemini 3 Pro Image model
This state-of-the-art image generation and editing model is starting to roll out in paid preview to build a new wave of intelligent, multimodal applications with the Gemini API in Google AI Studio and Vertex AI for enterprises. This model unlocks high-fidelity images with higher accuracy in text rendering and robust world knowledge, supercharged by the model's ability to use grounding with Google Search to retrieve data based on the user's prompt.
- Start building with Gemini 3
Gemini 3 Pro fits right into existing production agent and coding workflows, while also enabling new use cases not previously possible. It’s available in preview at $2/million input tokens and $12/million output tokens for prompts 200k tokens or less through the Gemini API in Google AI Studio and Vertex AI for enterprises (see pricing for rate limits and full pricing details). Additionally, it can be utilized via your favorite developer tools within the broader ecosystem and is available, with rate limits, free of charge in Google AI Studio.
- Gemini 2.5's Insane Power: How It Makes Your App Truly Powerful
If you like coding, the Gemini 2.5 API is flexible. Here’s a Python example to show how it works:
- How to build with Nano Banana: Complete Developer Tutorial
This guide provides a comprehensive walkthrough for developers looking to integrate Gemini 2.5 Flash Image aka Nano Banana into their applications using the Gemini Developer API.
- Build a Storytelling Service With RCS Rich Cards and Gemini
To learn more, visit the Gemini Developer API documentation page.
- Build with Veo 3, now available in the Gemini API
Veo cookbook
- SynthScope: Search, Visualize, Listen to Information
Google Gemini family of models for text generation, image generation, and text-to-speech (TTS).
- We're expanding our Gemini 2.5 family of models
Apparently, you can make a request to 2.5 flash to not use thinking, but it will still sometimes do it anyways, this has been an issue for months, and hasn't been fixed by model updates: https://github.com/google-gemini/cookbook/issues/722
- How to Set Up CI/CD for a Python Backend Application on Fly.io Using GitHub Actions
The application starts by loading environment variables using the dotenv library. This ensures that sensitive information, like the API key for Google Gemini, is kept secure and not hard-coded into the code.
What are some alternatives?
sqld - LibSQL with extended capabilities like HTTP protocol, replication, and more.
barrierless - Barrierless is an open-source command-line tool designed to break down language barriers by providing seamless translations between languages. It allows users to quickly and easily translate text files into their target language, making communication across different languages effortless.
sqlite-y-crdt - Y-CRDT extension for SQLite
gemini-python - A python client for the Gemini API and Websocket
extralite - Ruby on SQLite
shortest - QA via natural language AI tests