This repo includes a .envrc for direnv.
It is only used for repo-local shell helpers. Right now it adds the repo bin/ directory to your PATH, which makes commands like ghruns and ghdeploy available anywhere inside this repository.
It does not load .env.local and it does not set NODE_ENV.
- Install
direnvon your machine. - Enable the
direnvshell hook.
For zsh, add this to ~/.zshrc:
eval "$(direnv hook zsh)"For bash, add this to ~/.bashrc:
eval "$(direnv hook bash)"Then reload your shell config, for example:
source ~/.zshrcFrom the repo root, run:
direnv allowIf .envrc changes later, run:
direnv allowagain to approve the updated file.
From the repo root, you should be able to run:
which ghruns
ghrunsghruns is a shortcut for:
gh run list -R "6529-Collections/6529seize-frontend"In an interactive terminal, ghruns opens a live dashboard instead of printing a one-time snapshot. It refreshes automatically every 5 seconds, keeps the same repo scope, and still accepts the usual gh run list filters like --branch, --workflow, --status, and -L.
ghruns controls:
Up/Downmoves through the recent runsEnteropensgh run watchfor the highlighted runrrefreshes immediatelyqquits
The dashboard falls back to plain gh run list output in non-interactive shells and when you use output-formatting flags like --json, --jq, or --template.
ghdeploy only works from the repo root.
From the repo root, run:
ghdeployBefore it triggers the production deploy workflow, it checks that:
- the current branch is not detached
- the working tree is fully clean, including no untracked files
- the current branch has an upstream
- the current branch is exactly in sync with its upstream after a fetch
If those checks pass, it asks:
Are you sure you want to deploy <branch-name> to production?
If you confirm, it triggers the production workflow from .github/workflows/build-upload-deploy-prod.yml against your current branch.
PORT: 3000
User-facing documentation lives in docs/README.md.
npm i
npm run build
To run the project you need a .env file.
The chat now renders cards for pepe.wtf assets, collections, artists and sets. Environment variables (with defaults) allow you to tune caching and IPFS gateway usage:
PEPE_CACHE_TTL_MINUTES(default10)PEPE_CACHE_MAX_ITEMS(default500)IPFS_GATEWAY(defaulthttps://ipfs.io/ipfs/)
To test end-to-end:
- Run
npm run dev. - Paste any pepe.wtf link in chat, for example
https://pepe.wtf/asset/GOXPEPEorhttps://pepe.wtf/artists/Easy-B, and confirm the preview renders with imagery and stats. - Re-run the same link and confirm the network response for
/api/pepe/resolveincludes the headerX-Cache: HIT.
- Locally
npm run dev
- Production
npm run start
pm2 start npm --name=6529seize -- run start
All application routes now live under Next.js’s app/ router.
The legacy pages/ directory has been fully migrated, so create any new routes
inside app/.
Pages inside app/ must define a generateMetadata function that returns the
result of getAppMetadata:
import { getAppMetadata } from "@/components/providers/metadata";
import type { Metadata } from "next";
export async function generateMetadata(): Promise<Metadata> {
return getAppMetadata({ title: "My Page" });
}This ensures consistent SEO metadata across routes.