An open-source civic accountability platform for Bangladesh that cross-references citizen-submitted GPS-verified photo evidence against official infrastructure budgets to flag fraud, stalled projects, and budget misuse in real time.

Stars

6

7-day growth

No data

Forks

0

Open issues

0

License

No data

Last updated

2026-07-30

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

Combines real-time discrepancy detection, a four-tier role-based system, and optional AI risk prediction using free-tier services—all without requiring paid SaaS in the critical path. Designed specifically for Bangladesh's civic needs with a memorial feature.

Who it is for

  • Bangladeshi citizens concerned with infrastructure accountability
  • Government auditors and oversight bodies
  • Civic tech developers and activists
  • Hackathon participants (Spirit of July)”s

Use cases

  • Verifying public project progress via citizen photo submissions with GPS and EXIF metadata
  • Generating tamper-evident audit PDFs for stalled or disputed projects
  • Flagging potential budget misuse through a discrepancy index
  • Building public trust via a district transparency leaderboard

Strengths

  • Uses GPS and EXIF metadata to geofence evidence within 500 meters for accuracy
  • Graceful degradation: works locally without any API keys
  • Implements real RBAC with trust-score mechanics for community verification
  • Free and open-source MIT license with zero-paid-SaaS dependency in the critical path

Considerations

  • Rate limiting not yet implemented, exposing risk of spam
  • Without Pinata JWT, images stored as base64 in SQLite—unsafe for production
  • Currently seeded with only 5 Dhaka projects; scalability across Bangladesh not demonstrated
  • Auth uses simple HMAC session cookie; production deployment should replace with NextAuth

README quick start

🏛️ Janata Ledger · জনতা লেজার

Open-source civic accountability platform for Bangladesh. Cross-references citizen-submitted ground evidence (GPS + EXIF-verified) against official infrastructure budgets to flag fraud, stalled projects, and budget misuse — in real time.

Built for the Spirit of July · Track B hackathon.


✨ What it does

PillarAnswers
🗺️ Public Projects MapWhere is the money being spent?
📸 Citizen Photo ReportsWhat does the site actually look like today?
🛡️ Auditor VerificationWho checks the checkers?
🔔 Red Alert WorkflowThen what happens when the gap is too big?
💬 Public DiscussionWho gets to debate the project?
🕯️ July MemorialWe remember, together.

🚀 Quickstart

git clone https://github.com//janata-ledger.git
cd janata-ledger
npm install
cp .env.example .env        # edit DATABASE_URL if needed
npm run db:push             # apply schema
npm run db:seed             # 5 sample Dhaka projects
npm run dev                 # → http://localhost:3000

No API keys are required for local exploration. The app gracefully degrades when optional keys (PINATA_JWT, GEMINI_API_KEY) are missing — features that need them are hidden, not broken.


☁️ Deploy to Vercel

  1. Push the repo to GitHub.

  2. Create a free Neon Postgres project (ap-southeast-1 recommended for Bangladesh).

  3. In Vercel → New Project → import the repo.

  4. Set environment variables:

    VariableSource
    DATABASE_URLNeon connection string
    PINATA_JWTPinata → API Keys → Files · Write scope only
    GEMINI_API_KEY(optional) Google AI Studio
  5. Apply schema against the production DB:

    DATABASE_URL= npx prisma db push
    DATABASE_URL= npm run db:seed
    
  6. Redeploy so Vercel bakes the latest env into the build.

prisma/schema.prisma is already configured for PostgreSQL in production and falls back to SQLite for local dev — no manual migrate dev needed.


🔐 Environment variables

VariableRequiredPurpose
DATABASE_URL

Related repositories

Similar projects matched by category, topics, and programming language.

Jakubantalik
Featured
Jakubantalik GitHub avatar

thinking-orbs

A React component library that renders six hand-tuned animated thought orb loading indicators on a plain 2D canvas, with two purpose-tuned sizes and automatic theme detection for AI and agent UIs.

AI & Machine LearningAI Agents
1,191
makecindy
Featured
makecindy GitHub avatar

cindy

Cindy is an open-source AI agent that runs locally on your machine, integrates multiple AI harnesses and models, and provides memory, skills, and automation to perform real work in your projects and apps.

AI & Machine LearningLarge Language Models
958
mereyabdenbekuly-ctrl
Featured
mereyabdenbekuly-ctrl GitHub avatar

clodex-ide

Clodex is an open-source, local-first agentic IDE that combines persistent AI tasks, code, terminal, browser, Git, models, memory, and governed execution in one Electron workspace, currently in technical preview.

AI & Machine LearningAI Agents
859