Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
8b5d072
Merge pull request #2 from mocasus/docs/readme-and-logo
mocasus May 21, 2026
c850e10
feat: admin commands (Telegram + Discord) and admin web dashboard
kiro-agent May 21, 2026
197d172
Merge pull request #4 from mocasus/feat/admin-commands-and-dashboard
mocasus May 21, 2026
5b155e2
feat: owner system + setup wizard with auto-browser launch
kiro-agent May 21, 2026
86843d2
Merge pull request #5 from mocasus/feat/owner-system-and-setup-wizard
mocasus May 21, 2026
a38b66f
fix(setup): wizard auto-runs prisma db push, simpler quickstart
kiro-agent May 21, 2026
6b4011a
Merge pull request #6 from mocasus/fix/setup-runs-db-push
kiro-agent May 21, 2026
9b40b08
feat(dashboard): polish UI with icons, gradients, and better visual h…
kiro-agent May 21, 2026
08eae57
Merge pull request #7 from mocasus/feat/dashboard-ui-polish
kiro-agent May 21, 2026
0e22f69
feat: inline buttons, analytics page, auto-expire cron, rate limiting…
kiro-agent May 21, 2026
8a613ca
Merge pull request #8 from mocasus/feat/inline-buttons-analytics-polish
kiro-agent May 21, 2026
c99cf1b
feat(dashboard): refresh UI/UX with modern glass-morphism design (#9)
mocasus May 22, 2026
2bcf2c9
fix(setup): modernize setup wizard UI to match new dashboard design (…
mocasus May 22, 2026
88335a1
fix(setup): redesign setup wizard with cleaner card layout (#11)
mocasus May 22, 2026
caff5df
feat(branding): refresh README banner with modern dashboard aesthetic…
mocasus May 22, 2026
19b392a
fix(banner): apply final clean SVG (was lost in merge conflict resolu…
mocasus May 25, 2026
8bdd7bc
feat(branding): add GitHub social preview + setup repo guide (#15)
mocasus May 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 34 additions & 6 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,53 @@ NODE_ENV=development
PORT=3000

# === KlikQRIS ===
# Dapatkan di dashboard merchant kamu (https://klikqris.com)
# Dapatkan di dashboard merchant kamu (https://klikqris.com).
# Boleh dikosongkan saat dev — bot tetap jalan, tapi /buy akan gagal sampai diisi.
KLIKQRIS_API_BASE=https://klikqris.com/api
KLIKQRIS_API_KEY=
KLIKQRIS_MERCHANT_ID=

# === Telegram ===
# Buat bot di @BotFather lalu paste tokennya
# Buat bot di @BotFather lalu paste tokennya. Kosongkan untuk disable.
TELEGRAM_BOT_TOKEN=

# === Discord ===
# https://discord.com/developers/applications
# https://discord.com/developers/applications. Kosongkan untuk disable.
DISCORD_BOT_TOKEN=
DISCORD_CLIENT_ID=
# Optional: kalau diisi, slash commands diregister hanya di guild ini (instan).
# Kalau kosong, pakai global commands (propagasi bisa sampai 1 jam).
# Optional: kalau diisi, slash commands diregister hanya di guild ini (instan, untuk dev).
# Kalau kosong, pakai global commands (propagasi sampai 1 jam).
DISCORD_GUILD_ID=

# === Owner ===
# Owner = primary admin. Otomatis dapet:
# - Notifikasi saat bot online
# - Notifikasi setiap order PAID (sales)
# - Alert saat delivery gagal
# Owner OTOMATIS termasuk admin, gak perlu listing dirinya 2x di ADMIN_*_IDS.
#
# Telegram ID: chat @userinfobot untuk dapet numeric ID kamu.
# Discord ID: Settings > Advanced > Developer Mode ON, klik kanan profil > Copy User ID.
OWNER_TELEGRAM_ID=
OWNER_DISCORD_ID=

# === Admin tambahan ===
# Comma-separated user IDs admin tambahan (selain owner) yg boleh pakai /admin commands.
ADMIN_TELEGRAM_IDS=
ADMIN_DISCORD_IDS=

# === Admin Web Dashboard ===
# Login credentials untuk dashboard di /admin.
# Kosongkan ADMIN_USERNAME untuk disable dashboard sepenuhnya
# (akan auto-aktifin setup wizard di /setup).
ADMIN_USERNAME=
ADMIN_PASSWORD=
# Generate string random panjang, contoh: openssl rand -hex 32
# Setup wizard auto-generate kalau dikosongkan.
ADMIN_SESSION_SECRET=change-me-in-production-please

# === Database ===
DATABASE_URL="file:./prisma/dev.db"
DATABASE_URL="file:./dev.db"

# === Webhook ===
# URL public yang dipasang di dashboard KlikQRIS:
Expand Down
Loading