SarbaNanda Bhikkhu

snbhante.github.io — v3.0.0

Next.js App Router + TypeScript + static export + PWA portfolio for GitHub Pages.

v3.0.0 compatibility fixes

Local development

npm install
npm run sync:config
npm run sync:assets
npm run typecheck
npm run build
npm run dev

If Termux has no DNS/network access, sync:config and sync:assets can continue using already-present local files. After connectivity is restored, rerun both commands to refresh them.

Termux / Android

Next.js 16.3.7 Turbopack requires native bindings that are not available for Android/ARM64 in this environment. Therefore the default development and production build commands intentionally use Webpack.

rm -rf .next
npm run dev

Do not downgrade Next.js solely for this issue.

GitHub Pages

The workflow builds the app and deploys the generated out/ directory through GitHub Pages Actions. Set Settings → Pages → Build and deployment → Source → GitHub Actions.

The CI environment has network access, so configuration/assets synchronization is strict there.

Configuration architecture

Public configuration is maintained in snbhante/snbhante under config/; this repository contains the application and deployment pipeline.

snbhante
  └── public configuration / content source
          │ repository_dispatch / CI sync
          ▼
snbhante.github.io
  ├── Next.js App Router
  ├── TypeScript
  ├── PWA
  ├── static export
  └── GitHub Pages deployment

Static-hosting limitation

GitHub Pages serves static files. The retained Login/Dashboard UI is therefore a local demo session, not secure authentication. Real authentication, secrets, server actions, API routes, and database operations require a separate backend or hosted Next.js runtime.