{"id":30052194,"url":"https://github.com/arpanpramanik2003/smart-attendence","last_synced_at":"2026-02-17T19:32:07.691Z","repository":{"id":306620486,"uuid":"1026775092","full_name":"arpanpramanik2003/smart-attendence","owner":"arpanpramanik2003","description":"A Flask web app for managing student attendance with secure login. Track daily presence/absence, manage student records, and export reports to Excel/PDF. Uses SQLAlchemy with migrations for database management, ready for deployment on Render.","archived":false,"fork":false,"pushed_at":"2025-10-20T19:57:28.000Z","size":68,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-20T21:33:22.448Z","etag":null,"topics":["attendance-system","authentication","database","excel-export","flask","html-css-javascript","jinja2-templates","pdf-export","python3","render","sqlalchemy","student-management","webapp"],"latest_commit_sha":null,"homepage":"https://attendance-app-b2g9.onrender.com/","language":"HTML","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/arpanpramanik2003.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-07-26T15:32:46.000Z","updated_at":"2025-10-20T19:57:32.000Z","dependencies_parsed_at":"2025-10-05T02:10:21.481Z","dependency_job_id":null,"html_url":"https://github.com/arpanpramanik2003/smart-attendence","commit_stats":null,"previous_names":["arpanpramanik2003/smart-attendence"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arpanpramanik2003/smart-attendence","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arpanpramanik2003%2Fsmart-attendence","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arpanpramanik2003%2Fsmart-attendence/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arpanpramanik2003%2Fsmart-attendence/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arpanpramanik2003%2Fsmart-attendence/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arpanpramanik2003","download_url":"https://codeload.github.com/arpanpramanik2003/smart-attendence/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arpanpramanik2003%2Fsmart-attendence/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29555179,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T18:16:07.221Z","status":"ssl_error","status_checked_at":"2026-02-17T18:16:04.782Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-system","authentication","database","excel-export","flask","html-css-javascript","jinja2-templates","pdf-export","python3","render","sqlalchemy","student-management","webapp"],"created_at":"2025-08-07T16:54:04.972Z","updated_at":"2026-02-17T19:32:02.683Z","avatar_url":"https://github.com/arpanpramanik2003.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Attendance Management System\n\n![Python](https://img.shields.io/badge/python-3670A0?style=for-the-badge\u0026logo=python\u0026logoColor=ffdd54)\n![Flask](https://img.shields.io/badge/flask-%23000.svg?style=for-the-badge\u0026logo=flask\u0026logoColor=white)\n![SQLite](https://img.shields.io/badge/sqlite-%2307405e.svg?style=for-the-badge\u0026logo=sqlite\u0026logoColor=white)\n![Postgres](https://img.shields.io/badge/postgres-%23316192.svg?style=for-the-badge\u0026logo=postgresql\u0026logoColor=white)\n\nA web-based attendance management system built with Flask that allows teachers to track student attendance, manage student records, and generate reports.\n\n## Features\n\n- **User Authentication**\n  - Secure login system\n  - Default credentials: username=`a`, password=`a`\n\n- **Student Management**\n  - Register new students with unique UID\n  - Remove students from the system\n  - View all registered students\n\n- **Attendance Tracking**\n  - Mark daily attendance (Present/Absent)\n  - View attendance records by date\n  - Edit existing attendance records\n\n- **Reporting**\n  - Export attendance data to Excel\n  - Generate PDF reports\n  - View attendance history for any date\n\n## Technology Stack\n\n- **Backend**: Python Flask\n- **Database**: SQLite (Development), PostgreSQL (Production)\n- **ORM**: SQLAlchemy\n- **Migrations**: Flask-Migrate (Alembic)\n- **Templating**: Jinja2\n- **Reporting**: Pandas (Excel), WeasyPrint (PDF)\n\n## Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/arpanpramanik2003/smart-attendance.git\n   cd smart-attendance\n\n## Installation \u0026 Setup\n\n1. Create and activate virtual environment:\n   ```bash\n   python -m venv venv\n   # Linux/Mac:\n   source venv/bin/activate\n   # Windows:\n   venv\\Scripts\\activate\n2. Install dependencies:\n   ```bash\n   pip install -r requirements.txt\n3. Configure environment variables:\n   ```bash\n   # Linux/Mac:\n    export FLASK_APP=app.py\n    export FLASK_DEBUG=1\n    export SECRET_KEY=your-secret-key-here\n    \n    # Windows:\n    set FLASK_APP=app.py\n    set FLASK_DEBUG=1\n    set SECRET_KEY=your-secret-key-here\n## Login Credentials\n\nDefault admin credentials:\n- **Username:** `a`\n- **Password:** `a`\n\n## Deployment (Render)\n\n1. **Set up PostgreSQL database** on Render\n2. **Configure environment variables**:\n   - `DATABASE_URL`: postgresql://attendence_db_lstr_user:FNlCnojEWCnNE7hb94rLaPJzvBbbFUZf@dpg-d22fv6qdbo4c73f6p0pg-a/attendence_db_lstr\n   - `SECRET_KEY`: Hidden\n   - `FLASK_DEBUG`: Set to `0` in production\n  \n## File Structure\nattendance-app/  \n│  \n├── migrations/ # Database migration files (Flask-Migrate/Alembic)  \n│ ├── versions/ # Generated migration scripts  \n│ │ └── xxxxx_migration.py # Migration files with timestamps  \n│ ├── alembic.ini # Alembic configuration  \n│ └── script.py.mako # Migration script template  \n│  \n│  \n├── templates/ # Jinja2 HTML templates  \n│ ├── attendance.html # Daily attendance interface  \n│ ├── dashboard.html # Admin dashboard  \n│ ├── layout.html # Base template  \n│ ├── login.html # Authentication page  \n│ ├── records.html # Attendance records view  \n│ ├── register.html # Student registration form  \n│ └── remove.html # Student management  \n│  \n├── .env # Environment variables (optional)  \n├── .gitignore # Specifies untracked files  \n├── app.py # Flask application entry point  \n├── config.py # Configuration settings (optional)  \n├── models.py # SQLAlchemy database models  \n├── requirements.txt # Python dependencies  \n└── README.md # Project documentation  \n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n## Contributing\n\nWe welcome contributions! Please follow these steps:  \n1. Fork the repository  \n2. Create your feature branch (`git checkout -b feature/your-feature`)  \n3. Commit your changes (`git commit -m 'Add some feature'`)  \n4. Push to the branch (`git push origin feature/your-feature`)  \n5. Open a Pull Request  \n\nFor major changes, please open an issue first to discuss your proposed changes.\n\n## Acknowledgements\n\nSpecial thanks to:  \n- [Flask](https://flask.palletsprojects.com/) for the web framework  \n- [SQLAlchemy](https://www.sqlalchemy.org/) for ORM support  \n- [Render](https://render.com/) for deployment platform  \n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farpanpramanik2003%2Fsmart-attendence","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farpanpramanik2003%2Fsmart-attendence","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farpanpramanik2003%2Fsmart-attendence/lists"}