Busabase
Busabase 是一个开源(MIT)数据库与 AI 智能体工作空间——将数据、文档、技能和应用集成于一体。您可以本地运行、在网络内自托管或使用 Busabase Cloud,从而开启新时代。
AI 翻译
尚未收集仓库信息。
尚未检测到更新。GitHub 发布版本后会显示在这里。
制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗A modern dark-themed dashboard for tracking tree plantation data from Green TN Mission.
Install Dependencies
npm install
Start Local Server
# Option 1: Using start_server.bat (Windows)
double-click start_server.bat
# Option 2: Using Node.js
npx http-server -p 3000
# Option 3: Using Python
python -m http.server 3000
Open Dashboard
The dashboard loads data from JSON files in the following format:
data_forest.json - Forest department datadata_other_dept.json - Other department datadata_agriculture.json - Agriculture department datadata_plant_atree.json - Plant a Tree datadata_palm_forest.json - Palm forest datadata_palm_other_dept.json - Palm other department data# Option 1: Using update_data.bat
double-click update_data.bat
# Option 2: Using Node.js
node convert_excel_to_json.js
For automated data download from the website:
# Run the auto-download script
double-click run_auto_download.bat
This will:
The dashboard data files are 370+ MB and are NOT committed to git (see .gitignore). To host on Vercel, you need to use cloud storage for the data files.
Create Cloudflare R2 Bucket
data_*.json filesEnable Public Access
Update Data Loading
summary_table_script.js to fetch from R2 URLfetch('data_forest.json')fetch('https://your-r2-url.com/data_forest.json')Deploy to Vercel
npm install -g vercel
vercel
Create S3 Bucket
data_*.json filesUpdate Data Loading
summary_table_script.js to fetch from S3 URLDeploy to Vercel
vercel
GitHub Pages can host the dashboard, but:
To deploy to GitHub Pages:
overalldashboard/
├── index.html # Main dashboard
├── summary_table.html # Summary table page
├── script.js # Main dashboard logic
├── summary_table_script.js # Summary table logic
├── styles.css # Dark theme styles
├── convert_excel_to_json.js # CSV to JSON converter
├── auto_download.py # Auto-download script
├── auto_download_template.py # Template without credentials
├── run_auto_download.bat # Run auto-download
├── update_data.bat # Update data script
├── start_server.bat # Start local server
├── vercel.json # Vercel configuration
├── package.json # Node dependencies
├── requirements.txt # Python dependencies
├── .gitignore # Git ignore rules
└── data_*.json # Data files (not in git)
For auto-download script:
GREEN_USERNAME - Website usernameGREEN_PASSWORD - Website passwordThe dashboard supports 38 Tamil Nadu districts. Update in summary_table_script.js if needed.
This project is for tracking tree plantation data from Green TN Mission.