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.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗Proof-of-attendance NFTs on Avalanche. An organizer creates a drop with a claim code and a picture; attendees enter the code and the NFT lands in their wallet. No forms, no middlemen.
This repo runs Next.js 16, which has meaningfully diverged from older Next.js conventions. Check
node_modules/next/dist/docs/before assuming an API or file convention still applies.
Install dependencies (this also generates the Prisma client via postinstall):
npm install
Create a .env.local with:
| Variable | Purpose |
|---|---|
DATABASE_URL | Postgres connection string (used by Prisma Client at runtime) |
NEXT_PUBLIC_PRIVY_APP_ID | Privy app ID for wallet auth |
SESSION_SECRET | Secret used to sign the auth session cookie |
VOUCHER_SIGNER_PRIVATE_KEY | Private key that signs claim vouchers server-side |
NEXT_PUBLIC_AVALANCHE_NETWORK | mainnet to claim against Avalanche C-Chain; defaults to Fuji testnet |
NEXT_PUBLIC_DROP_CONTRACT_ADDRESS | Address of the shared drop ERC-721 contract |
Run the database migrations, then start the dev server:
npm run db:migrate
npm run dev
Open http://localhost:3000.
| Command | Description |
|---|---|
npm run dev | Start the dev server |
npm run build | Production build |
npm run start | Serve the production build |
npm run lint | Run ESLint |
npm run db:migrate | Apply Prisma migrations |
npm run db:studio | Open Prisma Studio |
app/create — organizer flow for setting up a dropapp/drop/[slug] — public drop pageapp/claim/[eventId] — code-entry claim flowapp/collection/[txHash] — a claimed NFT's confirmation pageapp/profile/[address] — a wallet's claimed collectionapp/api — auth, claims, events, collectors, and metadata routeslib/web3 — chain config, voucher signing, mint verificationprisma/schema.prisma — Event and Claim models