{"repo":"ndom91/briefkasten","free":true,"listed":false,"github":"https://github.com/ndom91/briefkasten","clone":"git clone https://github.com/ndom91/briefkasten.git","description":"📮 Self hosted bookmarking app","language":"Svelte","stars":1178,"topics":["bookmarks","nextjs","planetscale","prisma","tailwindcss"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"📬 Briefkasten [!NOTE] This is Briefkasten v2 , a complete rewrite in SvelteKit. The previous version (v1) is available on the v1 branch. If you were using the cloud instance, all of your data has been migrated to the new instance available at the same URL as before. 🚀 Getting Started This is setup as a monorepo with (1) apps/web being a SvelteKit web application and (2) apps/backend being a Hono-based API. There are npm scripts in the root package.json to control most things. 1. Clone the repository 2. Install dependencies This will install the dependencies for both apps. 3. Both web and backend need separate .env files. Copy both /apps/{web,backend}/.env.example files to .env , and open them with your favorite text editor to fill in your environment variables. In these environment variable files, make sure to at least fill in the DATABASE URL , BETTER AUTH SECRET , BETTER AUTH URL , PUBLIC WORKER URL and one Better Auth authentication provider, so for example GITHUB CLIENT ID , GITHUB CLIENT SECRET . The rest of the environment variables depend on the services / features you want to use. 4. Start the server! [!NOTE] pnpm db:deploy runs prisma migrate deploy against a fresh database. If you are upgrading an existing database whose schema already matches (e.g. a previous v2 instance), baseline it instead with pnpm --filter sveltekasten-web exec prisma migrate resolve --applied 0 init so the migration is recorded without re-running the DDL. For quick local iteration you can s","default_branch":null,"files":null,"tree":[],"storefront":"/r/ndom91","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ndom91/briefkasten/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}