一个面向孟加拉国的开源公民问责平台,通过将公民提交的GPS和EXIF验证的现场照片证据与官方基础设施预算进行交叉比对,实时标记欺诈、停滞项目和预算滥用。

Stars

6

7 天增长

暂无数据

Fork 数

0

开放 Issue

0

开源协议

暂无数据

最近更新

2026-07-30

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它结合了实时差异检测、四层角色系统和可选的免费AI风险预测功能——关键路径无需付费SaaS。专为孟加拉国的公民需求设计,并包含纪念功能。

适合谁使用

  • 关注基础设施问责制的孟加拉国公民
  • 政府审计人员和监督机构
  • 公民科技开发者和活动家
  • 参与“七月精神”黑客松的参赛者

典型使用场景

  • 通过公民提交的带GPS和EXIF元数据的照片来验证公共项目进展
  • 为停滞或有争议的项目生成防篡改审计PDF
  • 通过差异指数标记潜在的预算滥用
  • 通过地区透明度排行榜建立公众信任

项目优势

  • 利用GPS和EXIF元数据在500米范围内进行地理围栏验证
  • 优雅降级:无需任何API密钥即可本地运行
  • 实现真实的RBAC(基于角色的访问控制)和信任评分机制用于社区验证
  • MIT开源许可证,关键路径不依赖付费SaaS

使用前须知

  • 尚未实现速率限制,存在垃圾信息风险
  • 未配置Pinata JWT时,图片以base64形式存储在SQLite中,不适用于生产环境
  • 目前仅预填充了5个达卡项目,未展示在孟加拉国全国的扩展能力
  • 认证使用简单的HMAC签名会话cookie,生产环境应替换为NextAuth

README 快速开始

🏛️ 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

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

Jakubantalik
精选
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 与机器学习AI 智能体
1,191
makecindy
精选
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 与机器学习大语言模型
958
mereyabdenbekuly-ctrl
精选
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 与机器学习AI 智能体
859