{"id":22550921,"url":"https://github.com/varundhand/bookflo-lms","last_synced_at":"2026-04-13T00:33:19.819Z","repository":{"id":265127799,"uuid":"895211409","full_name":"varundhand/BookFlo-LMS","owner":"varundhand","description":"A multi-user library management system to manage e-books. Features include role-based access control (RBAC), user and librarian dashboards, section and e-book management, search functionalities, batch jobs (daily reminders, monthly reports), caching with Redis, and performance optimization.","archived":false,"fork":false,"pushed_at":"2024-11-27T19:31:42.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T10:11:25.360Z","etag":null,"topics":["celery","flask","library-management","redis","sqlite"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/varundhand.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-11-27T19:07:38.000Z","updated_at":"2024-11-27T19:32:48.000Z","dependencies_parsed_at":"2024-11-27T20:39:06.113Z","dependency_job_id":null,"html_url":"https://github.com/varundhand/BookFlo-LMS","commit_stats":null,"previous_names":["varundhand/bookflo-lms"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/varundhand/BookFlo-LMS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varundhand%2FBookFlo-LMS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varundhand%2FBookFlo-LMS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varundhand%2FBookFlo-LMS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varundhand%2FBookFlo-LMS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/varundhand","download_url":"https://codeload.github.com/varundhand/BookFlo-LMS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varundhand%2FBookFlo-LMS/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267298584,"owners_count":24065882,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"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":["celery","flask","library-management","redis","sqlite"],"created_at":"2024-12-07T17:09:00.014Z","updated_at":"2026-04-13T00:33:19.783Z","avatar_url":"https://github.com/varundhand.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BookFlo - Library Management System V2\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/c7b45c0f-ade7-45e6-8bef-b3703e4c8a18\" alt=\"Screenshot\" width=\"444\"\u003e\n\u003c/div\u003e\n\n**BookFlo** is a multi-user application designed to issue, grant/revoke, and maintain e-books across various sections, like an online library. This project demonstrates an efficient, scalable, and interactive library management system built using Flask, SQLite, and other frameworks.\n\n---\n\n### Frameworks and Tools Used\n- **Backend**: Flask\n- **Database**: SQLite\n- **Frontend**: Bootstrap and Jinja2 templates\n- **Caching and Batch Jobs**: Redis and Celery\n- **Additional Libraries**: ChartJS (optional, for graphs and charts)\n\n---\n\n## Features\n\n### Roles\n1. **Librarian**:\n   - Maintains sections and e-books.\n   - Monitors user activities and manages e-book access.\n   - Grants/revokes access to e-books.\n2. **General User**:\n   - Can browse sections, request e-books, and return them.\n   - Provides feedback and ratings for e-books.\n\n### Core Functionalities\n1. **Admin Login and User Login (RBAC)**:\n   - Role-based access control implemented using Flask security or JWT.\n   - Differentiates between librarian and general users.\n\n2. **Librarian Dashboard**:\n   - Displays statistics like active users, grant requests, issued/revoked books.\n\n3. **Section Management**:\n   - Create, update, and delete sections for organizing e-books.\n\n4. **E-book Management**:\n   - Add, edit, and delete e-books within specific sections.\n\n5. **Search Functionality**:\n   - Users can search for sections and e-books by title, author, etc.\n\n6. **Scheduled Batch Jobs**:\n   - **Daily Reminders**: Sends email notifications to users for overdue books.\n   - **Monthly Reports**: HTML reports for librarians detailing activity and statistics.\n\n7. **User-Triggered Jobs**:\n   - CSV export of issued/returned e-books.\n\n8. **Performance and Caching**:\n   - API performance optimized with Redis caching and cache expiry.\n\n---\n\n## Steps to Use the Application\n\n### 1. Create Virtual Environment\n   ```bash\n   python -m virtualenv myenv\n```\n### 2. Activate Virtual Environment\n   ```bash\n   source myenv/bin/activate\n```\n### 3. Install Required Packages\n   ```bash\n   pip install -r requirements.txt\n```\n### 4. Set the Flask Entry Point\n   ```bash\n   export FLASK_APP=main\n```\n### 5. Start the Server\n   ```bash\n   flask run --debug\n```\n### 6. Migrate Database\n   ```bash\n   python3 setup_db.py\n```\n\n---\n\n## Caching and Batch Jobs\n\n### 1. Start Redis Server\n   ```bash\n   redis-server\n```\n### 2. Start Celery Worker\n   ```bash\n   celery -A main:celery_app worker --loglevel INFO\n```\n### 3. Start Celery Beat Scheduler\n   ```bash\n   celery -A main:celery_app beat --loglevel INFO\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvarundhand%2Fbookflo-lms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvarundhand%2Fbookflo-lms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvarundhand%2Fbookflo-lms/lists"}