superapp-archive

localhost

6 file · 54.5 KB

Sistem informasi live — localhost-five-sandy.vercel.appBuka di tab baru

README

Localhost Registry

Sistem informasi sederhana untuk mencatat semua link localhost + route-route penting dari project-project di ~/Documents/GitHub.

Status aktif project dinilai dari jumlah commit 7 hari terakhir:

  • Aktif — ≥10 commit/7 hari
  • Kurang Aktif — 1–9 commit/7 hari
  • Tidak Aktif — 0 commit/7 hari

Live

Cara pakai

  1. Buka langsung di browser (tanpa server):

    open index.html
    

    atau buka file index.html dari folder ini.

  2. Update data project (kalau ada project baru atau setelah coding):

    python3 scan.py
    

    Script ini akan membaca semua package.json, mendeteksi framework, port, route, dan aktivitas Git, lalu menghasilkan projects.json.

  3. Filter & cari project:

    • Gunakan kolom pencarian untuk filter nama, framework, atau route.
    • Klik tab Aktif / Kurang Aktif / Tidak Aktif untuk melihat project berdasarkan status.
  4. Jalankan project:

    • Klik tombol Buka http://localhost:PORT untuk membuka project yang sedang berjalan.
    • Kalau belum berjalan, salin command cd <path> && npm run dev dari kartu project.

Struktur file

  • index.html — tampilan utama registry.
  • projects.json — data project hasil scan.
  • scan.py — script untuk scan ulang project.

Tips

  • Beberapa project mungkin pakai port yang sama (default Next.js/React = 3000, Vite = 5173). Kalau mau buka banyak sekaligus, jalankan dengan port berbeda, contoh:
    npm run dev -- --port 3001
    

File Utama

  • .gitignore
  • README.md
  • index.html
  • projects.json
  • scan.py