The central hub for duke.sol's experiments, threads, writings, and active Solana + AI agent builds.
"I build products, ship threads, and document the process."
- Clean portfolio experience — Hero, testimonials, work updates, and project highlights
- Content system — Threads + articles powered by local JSON + optional GitHub-backed storage
- Admin dashboard (
/admin) — Edit hero, testimonials, updates, projects, and publish new threads/articles - Image uploads for thread banners directly into
public/thread-images/ - One-click push to GitHub from the admin (optional, requires token + repo config)
- Fully deployed on Vercel
- Portfolio & writing hub: https://dukesol.vercel.app/
- Content page: https://dukesol.vercel.app/content (threads & articles)
- GitHub profile: https://github.com/cryptoduke01 (see the dedicated profile README repo for the polished landing)
- Next.js (App Router) + TypeScript + Tailwind
- Geist font (via next/font)
- Local JSON data files for content (
data/threads.json,data/articles.json,data/site-content.json) - Admin protected by simple passcode env var
- Optional GitHub API integration for publishing content updates
pnpm install
pnpm devOpen http://localhost:3000.
Create a .env.local:
ADMIN_PASSCODE=your-secure-passcode
# Optional: Enable GitHub content pushing from /admin
GITHUB_TOKEN=ghp_...
GITHUB_REPO=cryptoduke01/duke.sol # or your fork nameDefault passcode in code is 180476 (change it).
- Visit
/admin - Authenticate with the passcode
- Edit hero, testimonials, updates, or projects
- Create/edit threads and articles
- Upload images for thread banners
- "Push to GitHub" to persist content in the repo (creates
data/*.jsonfiles)
Content is read at runtime from the JSON files when present.
app/
page.tsx # Main portfolio
content/ # Threads & articles listing
admin/ # Protected content manager
public/
thread-images/ # Banner uploads
data/ # Generated/persisted JSON content (threads, articles, site-content)
Deployed on Vercel. Push to main and Vercel will rebuild.
The admin push-to-GitHub feature lets you update content without leaving the deployed site.
- GitHub: cryptoduke01
- X: @dukedotsol
- Main builds: keryx, swindle
Built and maintained by duke.sol.