{"id":28311209,"url":"https://github.com/tobioffice/nbkristqik","last_synced_at":"2026-06-17T20:02:13.057Z","repository":{"id":308536520,"uuid":"1006371331","full_name":"tobioffice/NbkristQik","owner":"tobioffice","description":"A Telegram bot for students to check attendance and mid-term marks.","archived":false,"fork":false,"pushed_at":"2026-02-01T08:24:21.000Z","size":1043,"stargazers_count":1,"open_issues_count":8,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-01T15:46:22.800Z","etag":null,"topics":["attendance","collage","nbkrist","redis-cache","students","telgrambot"],"latest_commit_sha":null,"homepage":"https://t.me/nbkristqik","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tobioffice.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-22T05:40:15.000Z","updated_at":"2026-02-01T08:24:26.000Z","dependencies_parsed_at":"2025-12-31T16:06:34.004Z","dependency_job_id":null,"html_url":"https://github.com/tobioffice/NbkristQik","commit_stats":null,"previous_names":["tobioffice/nbkristqik"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tobioffice/NbkristQik","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobioffice%2FNbkristQik","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobioffice%2FNbkristQik/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobioffice%2FNbkristQik/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobioffice%2FNbkristQik/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tobioffice","download_url":"https://codeload.github.com/tobioffice/NbkristQik/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobioffice%2FNbkristQik/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34463558,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["attendance","collage","nbkrist","redis-cache","students","telgrambot"],"created_at":"2025-05-24T12:10:46.353Z","updated_at":"2026-06-17T20:02:13.051Z","avatar_url":"https://github.com/tobioffice.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NbkristQik Bot\n\nA Telegram bot for students to check attendance and mid-term marks.\n\n## Features\n\n### ✅ Already Implemented\n- Check attendance details\n- View mid-term examination marks  \n- **🏆 Live Leaderboard (Telegram Web App)**\n- Admin controls\n\n### 🚀 Upcoming Features\n- 🔔 Automatic Notifications\n- AI-powered chat capabilities\n\n\n## Technology Stack\n\n- **Backend**: Node.js, Express, TypeScript\n- **Database**: Turso (SQLite), Redis\n- **Frontend**: React, Vite, TailwindCSS\n- **Integration**: Telegram Bot API\n- **Scraping**: Cheerio, Axios\n\n## Project Structure\n\n```\nsrc/\n├── bot/\n│   ├── commands/      # Bot command handlers\n│   ├── features/      # Core bot features\n│   └── setup.ts       # Bot initialization\n├── config/            # Configuration files\n├── constants/         # Constant values and messages\n├── db/               # Database models\n├── services/         # Business logic services\n└── types/            # TypeScript type definitions\n```\n\n## Setup\n\n1. Clone the repository\n```bash\ngit clone https://github.com/yourusername/NbkristQik.git\ncd NbkristQik\n```\n\n2. Install dependencies\n```bash\npnpm install\n```\n\n3. Configure environment variables\n- Copy `.env.example` to `.env`\n- Fill in the required values:\n  - Telegram bot tokens\n  - Turso database credentials\n  - Authentication details\n  - Admin configuration\n\n4. Build and run\n```bash\n# Development\npnpm dev\n\n# Production\npnpm build\npnpm start\n```\n\n## Available Commands\n\n- `/start` - Initialize the bot\n- `/help` - Get usage instructions\n- `/ai [query]` - Interact with AI\n- Check attendance and marks using roll number\n\n## Environment Variables\n\n```env\nENV=development|production\nTELEGRAM_BOT_TOKEN_DEV=your_dev_bot_token\nTELEGRAM_BOT_TOKEN=your_production_bot_token\nTURSO_DATABASE_URL=your_database_url\nTURSO_AUTH_TOKEN=your_auth_token\nN_USERNAME=your_username\nN_PASSWORD=your_password\nADMIN_ID=your_admin_id\n```\n\n## Development\n\n```bash\n# Run in development mode\npnpm dev\n\n# Build TypeScript\npnpm build\n\n# Start production server\npnpm start\n```\n\n## License\n\nSee [LICENSE.md](LICENSE.md) for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobioffice%2Fnbkristqik","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftobioffice%2Fnbkristqik","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobioffice%2Fnbkristqik/lists"}