Logo

0x3d.Site

is designed for aggregating information.
Welcome
check repository here

Budget Zen - Web App

This is the web app for the Budget Zen app, built with Deno and deployed using docker compose.

This is v3, which is end-to-end encrypted with open Web Standards, and works via web on any device (it's a PWA - Progressive Web App).

It's not compatible with Budget Zen v2 (end-to-end encrypted via Userbase) which you can still get locally from this commit, nor v1 (not end-to-end encrypted), which you can still get locally from this commit. You can still export and import the data as the JSON format is the same across all 3 versions (unencrypted).

NOTE: If your Android launcher doesn't show PWAs as an app, I've got a solution for you: a simple webview app.

Self-host it!

Deploy to DigitalOcean

Deploy to Render

Or check the Development section below.

NOTE: You don't need to have emails (Brevo) and subscriptions (Stripe) setup to have the app work. Those are only used for allowing others to automatically manage their account. You can simply make any user.status = 'active' and user.subscription.expires_at = new Date('2100-01-01') to "never" expire, in the database, directly.

Framework-less

This right here is vanilla TypeScript and JavaScript using Web Standards. It's very easy to update and maintain.

It's meant to have no unnecessary dependencies, packagers, or bundlers. Just vanilla, simple stuff.

Requirements

This was tested with Deno's version stated in the .dvmrc file, though other versions may work.

For the PostgreSQL dependency (used when running locally, self-hosted, or in CI), you should have Docker and docker compose installed.

If you want to run the app locally with SSL (Web Crypto standards require https except for Chrome), you can use Caddy (there's a Caddyfile that proxies https://localhost to the Deno app).

Don't forget to set up your .env file based on .env.sample.

Development

$ docker compose up # (optional) runs docker with postgres, locally
$ sudo caddy run # (optional) runs an https proxy for the deno app
$ make migrate-db # runs any missing database migrations
$ make start # runs the app
$ make format # formats the code
$ make test # runs tests

Other less-used commands

$ make exec-db # runs psql inside the postgres container, useful for running direct development queries like `DROP DATABASE "budgetzen"; CREATE DATABASE "budgetzen";`

Structure

  • Backend routes are defined at routes.ts.
  • Publicly-available files are defined at public/.
  • Pages are defined at pages/.
  • Cron jobs are defined at crons/.
  • Reusable bits of code are defined at lib/.
  • Database migrations are defined at db-migrations/.

Deployment

  • Just push to the main branch.

TODOs:

  • Enable true offline mode (securely cache data, allow read-only)
Open Source
Open Source
Open source software is freely available for use, modification, and distribution. It fosters collaboration and innovation, with popular examples like Linux, Git, and Apache. Open source drives much of today’s technology infrastructure.
Unkey
Unkey
GitHub - pingdotgg/zapdos
GitHub - pingdotgg/zapdos
GitHub - noahflk/railtrack: Next.js and Supabase app to track your train journeys in Europe
GitHub - noahflk/railtrack: Next.js and Supabase app to track your train journeys in Europe
GitHub - vanxh/openbio: Open source beautiful link in bio pages.
GitHub - vanxh/openbio: Open source beautiful link in bio pages.
GitHub - keephq/keep: The open-source alert management and AIOps platform
GitHub - keephq/keep: The open-source alert management and AIOps platform
GitHub - RomanHotsiy/commitgpt: Automatically generate commit messages using ChatGPT
GitHub - RomanHotsiy/commitgpt: Automatically generate commit messages using ChatGPT
GitHub - midday-ai/midday: Run your business smarter 🪄
GitHub - midday-ai/midday: Run your business smarter 🪄
GitHub - neondatabase/yc-idea-matcher: Submit your idea and get a list of similar ideas that YCombinator has invested in in the past.
GitHub - neondatabase/yc-idea-matcher: Submit your idea and get a list of similar ideas that YCombinator has invested in in the past.
GitHub - steven-tey/novel: Notion-style WYSIWYG editor with AI-powered autocompletion.
GitHub - steven-tey/novel: Notion-style WYSIWYG editor with AI-powered autocompletion.
GitHub - tldraw/tldraw: SDK for creating whiteboards and canvas experiences on the web.
GitHub - tldraw/tldraw: SDK for creating whiteboards and canvas experiences on the web.
GitHub - implerhq/impler.io: Powerful CSV & Excel Import experience for SaaS 🚀 Save months building data import experience from scratch 💰
GitHub - implerhq/impler.io: Powerful CSV & Excel Import experience for SaaS 🚀 Save months building data import experience from scratch 💰
GitHub - openstatusHQ/openstatus: 🏓  The open-source synthetic monitoring platform  🏓
GitHub - openstatusHQ/openstatus: 🏓 The open-source synthetic monitoring platform 🏓
GitHub - vercel/platforms: A full-stack Next.js app with multi-tenancy and custom domain support. Built with Next.js App Router and the Vercel Domains API.
GitHub - vercel/platforms: A full-stack Next.js app with multi-tenancy and custom domain support. Built with Next.js App Router and the Vercel Domains API.
GitHub - triggerdotdev/trigger.dev: Trigger.dev is the open source background jobs platform for TypeScript.
GitHub - triggerdotdev/trigger.dev: Trigger.dev is the open source background jobs platform for TypeScript.
GitHub - winglang/wing: A programming language for the cloud ☁️ A unified programming model, combining infrastructure and runtime code into one language ⚡
GitHub - winglang/wing: A programming language for the cloud ☁️ A unified programming model, combining infrastructure and runtime code into one language ⚡
GitHub - ghostfolio/ghostfolio: Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
GitHub - ghostfolio/ghostfolio: Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
GitHub - documenso/documenso: The Open Source DocuSign Alternative.
GitHub - documenso/documenso: The Open Source DocuSign Alternative.
GitHub - NickTikhonov/dun-cli: Zero friction git commits powered by GPT-3.5 ✨
GitHub - NickTikhonov/dun-cli: Zero friction git commits powered by GPT-3.5 ✨
GitHub - mfts/papermark: Papermark is the open-source DocSend alternative with built-in analytics and custom domains.
GitHub - mfts/papermark: Papermark is the open-source DocSend alternative with built-in analytics and custom domains.
GitHub - aptabase/aptabase: ✨ Open Source, Privacy-First and Simple Analytics for Mobile, Desktop and Web Apps
GitHub - aptabase/aptabase: ✨ Open Source, Privacy-First and Simple Analytics for Mobile, Desktop and Web Apps
GitHub - QuivrHQ/quivr: Open-source RAG Framework for building GenAI Second Brains 🧠  Build productivity assistant (RAG) ⚡️🤖 Chat with your docs (PDF, CSV, ...)  & apps using Langchain, GPT 3.5 / 4 turbo, Private, Anthropic, VertexAI, Ollama, LLMs, Groq  that you can share with users !  Efficient retrieval augmented generation framework
GitHub - QuivrHQ/quivr: Open-source RAG Framework for building GenAI Second Brains 🧠 Build productivity assistant (RAG) ⚡️🤖 Chat with your docs (PDF, CSV, ...) & apps using Langchain, GPT 3.5 / 4 turbo, Private, Anthropic, VertexAI, Ollama, LLMs, Groq that you can share with users ! Efficient retrieval augmented generation framework
GitHub - dubinc/dub: Open-source link management infrastructure. Loved by modern marketing teams like Vercel, Raycast, and Perplexity.
GitHub - dubinc/dub: Open-source link management infrastructure. Loved by modern marketing teams like Vercel, Raycast, and Perplexity.
GitHub - AnswerOverflow/AnswerOverflow: Indexing Discord Help Channel Questions into Google
GitHub - AnswerOverflow/AnswerOverflow: Indexing Discord Help Channel Questions into Google
GitHub - elie222/inbox-zero: Open source email app to reach inbox zero fast.
GitHub - elie222/inbox-zero: Open source email app to reach inbox zero fast.
GitHub - octolens/analyzemyrepo: Discover useful insights about your open-source project
GitHub - octolens/analyzemyrepo: Discover useful insights about your open-source project
GitHub - calcom/cal.com: Scheduling infrastructure for absolutely everyone.
GitHub - calcom/cal.com: Scheduling infrastructure for absolutely everyone.
Matomo - The Google Analytics alternative that protects your data
Matomo - The Google Analytics alternative that protects your data
Famedly / Conduit · GitLab
Famedly / Conduit · GitLab
GNU Mailman / Postorius · GitLab
GNU Mailman / Postorius · GitLab
GNU Mailman / HyperKitty · GitLab
GNU Mailman / HyperKitty · GitLab
Open Source
More on Open Source

Programming Tips & Tricks

Code smarter, not harder—insider tips and tricks for developers.

Error Solutions

Turn frustration into progress—fix errors faster than ever.

Shortcuts

The art of speed—shortcuts to supercharge your workflow.
  1. Collections 😎
  2. Frequently Asked Question's 🤯

Tools

available to use.

Made with ❤️

to provide resources in various ares.