OnePunya GitHub Profile ↗
Code Hub/webku2
⌘
onepunya /

webku2

Open-source project by OnePunya.

Astro★ 0 stars⑂ 0 forksUpdated 4 Des 2026Public
‹›astro.config.mjs
Memuat source code...
GitHub sourcemain
▤README.mdDOCUMENTATION
View on GitHub ↗

OnePunya Code Hub

Standalone Astro project for https://code.onepunya.my.id.

Features

  • Lists public repositories from the onepunya GitHub account.
  • Reads and renders each repository's README.md automatically.
  • Shows repository language statistics and a browsable file list.
  • Loads source files from GitHub and provides copy controls.
  • Provides a Download ZIP link for each repository.
  • Responsive dark navy / lime-green Code Hub interface.
  • Uses OnePunya favicon and app icons.

Local development

npm install
npm run dev

Build

npm run build
npm run preview

Deploy to Vercel

  1. Push this folder's contents to a dedicated GitHub repository, e.g. onepunya-codehub.
  2. Import that repository as a new Vercel project.
  3. Keep the framework preset as Astro and deploy.
  4. Add code.onepunya.my.id under Vercel Project Settings → Domains.
  5. Configure the DNS record exactly as Vercel instructs.
  6. Optionally add GITHUB_TOKEN under Environment Variables and redeploy.

The GitHub account is configured in src/data/site.ts (githubUser: 'onepunya').

DOCUMENTATION AUTO-GENERATED FROM README.MD↓ Download full source ZIP