Survival LLM
A free AI assistant and survival library (1.5 million offline articles) that runs on your own computer, with no internet. Shows the source of every answer. Mac and Windows.
Notes, resources, and tools from @gary_bookshelf
OtherTypeScript · PLpgSQLGitHub @garyganhappycodingOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗Follow these steps in order. Every step is small — don't skip ahead.
Download and install Node.js 20 LTS from https://nodejs.org if you don't have it.
Check it worked: open a terminal and run node -v (should print v20.x.x or higher).
Unzip the folder anywhere on your computer, e.g. Desktop/garybookshelf.
Open a terminal, cd into that folder.
npm install
garybookshelf, set a database password (save it somewhere), pick the closest region (Singapore).supabase/schema.sql from this project, copy everything, paste it in, click Run..env.local.example and rename the copy to .env.local.NEXT_PUBLIC_SUPABASE_URL — the Project URL from step 6NEXT_PUBLIC_SUPABASE_ANON_KEY — the anon public keySUPABASE_SERVICE_ROLE_KEY — the service_role keyRESEND_API_KEY for now (step 10)npm run dev
Open http://localhost:3000 — you should see the homepage.
role cell, change it from customer to admin, save..env.local as RESEND_API_KEY.RESEND_FROM_EMAIL to something like "Gary's Bookshelf <[email protected]>".npm run dev after editing .env.local.tng-qr.png.public/ folder of this project (replacing the placeholder)./admin/products while logged in as admin./shop immediately./shop, click your product, "purchase" it by uploading any image as a fake receipt./admin/orders, view the receipt, click Approve./dashboard — you should see a Download button, and (if Resend is set up) an email.The easiest option is Vercel (free for personal projects):
.env.local, but set NEXT_PUBLIC_SITE_URL to your real deployed URL.actions/admin.ts is plain HTML — I can make it match the site's look if you want.** → your profiles.roleisn't set toadmin` yet (step 9).product-images, digital-assets, receipts should all be there from the schema script).RESEND_API_KEY is set and your sending domain is verified in Resend; the order still gets approved either way, the email is best-effort.