This repository was archived by the owner on Feb 14, 2026. It is now read-only.
Lightweight fork for single-user self-hosting#32
Draft
Akeboshiwind wants to merge 5 commits intoslopus:mainfrom
Draft
Lightweight fork for single-user self-hosting#32Akeboshiwind wants to merge 5 commits intoslopus:mainfrom
Akeboshiwind wants to merge 5 commits intoslopus:mainfrom
Conversation
Redis was only used for a health check ping at startup. Removed: - ioredis and @socket.io/redis-streams-adapter packages - sources/storage/redis.ts - redis.ping() call from main.ts Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
Use GitHub avatar URLs directly instead of re-hosting images. Removed: - minio and sharp packages - uploadImage.ts, processImage.ts, thumbhash.ts - S3 client initialization and loadFiles() startup check Avatar images now link directly to GitHub's CDN, which is simpler and always up-to-date. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
Simplifies deployment to a single file database. Changes: - Prisma provider: postgresql → sqlite - Removed relationJoins preview feature (Postgres-only) - Removed ordered index syntax (SQLite limitation) - Removed Serializable isolation (SQLite is single-writer) - Removed case-insensitive search mode (SQLite limitation) - Deleted 37 PostgreSQL migrations (fresh start required) - Updated scripts: db:push/db:reset replace migrate commands - Removed Docker commands for postgres/redis/minio BREAKING: Requires fresh database. Existing deployments need to re-authenticate all clients (mobile app, CLI daemons). Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
- Copy prisma schema to runtime container - Run prisma db push before starting server (idempotent) Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
- Add fly.toml configuration - Add deployment instructions to README - Include Litestream for continuous SQLite backup to Tigris - Add cost estimates (~$1.50-3/month) Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi! I wanted to self-host this but postgres + redis + minio felt heavy for just me.
I've slimmed it down to a single SQLite file:
It runs on Fly.io for ~$1.50/month with auto-scale-to-zero.
Obviously this won't work at scale, and skipping the avatar re-hosting does expose which GitHub users are logged in (though I don't use that feature anyway).
Not expecting a merge - just wanted to flag it exists in case any pieces are useful to you.