{"id":15180546,"url":"https://github.com/andreeadraghici/github-metrics-dashboard","last_synced_at":"2026-02-27T23:36:08.819Z","repository":{"id":253438721,"uuid":"829621780","full_name":"AndreeaDraghici/GitHub-Metrics-Dashboard","owner":"AndreeaDraghici","description":"This application serves as a web interface for interacting with GitHub API to establish metrics. ","archived":false,"fork":false,"pushed_at":"2024-10-02T14:34:45.000Z","size":737,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-24T11:14:01.013Z","etag":null,"topics":["dashboard","django-framework","github-api","metrics-visualization","python","rest-api","sqlite","webapp"],"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/AndreeaDraghici.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-07-16T20:01:49.000Z","updated_at":"2024-12-30T22:30:03.000Z","dependencies_parsed_at":"2025-01-06T16:34:17.508Z","dependency_job_id":"a58062d1-7d3b-4d31-8f27-1075728dada5","html_url":"https://github.com/AndreeaDraghici/GitHub-Metrics-Dashboard","commit_stats":{"total_commits":56,"total_committers":1,"mean_commits":56.0,"dds":0.0,"last_synced_commit":"4502ff04ba417e3d59d89001af9fadb893c1b89a"},"previous_names":["andreeadraghici/github-metrics-dashboard"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreeaDraghici%2FGitHub-Metrics-Dashboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreeaDraghici%2FGitHub-Metrics-Dashboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreeaDraghici%2FGitHub-Metrics-Dashboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreeaDraghici%2FGitHub-Metrics-Dashboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndreeaDraghici","download_url":"https://codeload.github.com/AndreeaDraghici/GitHub-Metrics-Dashboard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240466797,"owners_count":19805862,"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","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":["dashboard","django-framework","github-api","metrics-visualization","python","rest-api","sqlite","webapp"],"created_at":"2024-09-27T16:22:03.884Z","updated_at":"2026-02-27T23:36:08.211Z","avatar_url":"https://github.com/AndreeaDraghici.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"GitHub-Metrics-Dashboard\n-----------------------------------------\n\nThis application serves as a web interface for interacting with GitHub. It allows users to log in with their GitHub\naccount, view their repositories, and perform various actions such as creating and deleting repositories. The app\nprovides detailed statistics on user contributions, including commits, pull requests, issues, and programming languages\nused.\n\n## **Features**\n\n* **User Authentication:** Log in using a GitHub username.\n* **Profile Display:** View profile information and repository details.\n* **Repository Management:** Create and delete repositories.\n* **Statistics Display:** View contributions statistics including commits, pull requests, issues, and language usage.\n\n## **Setup and Installation**\n\n#### 1. Prerequisites:\n\n* Python 3.10\n* Django 5.0.7\n* GitHub Personal Access Token\n\n#### 2. Installation\n\nClone the repository:\n\n`git clone \u003crepository-url\u003e`\n\n`cd \u003crepository-directory\u003e`\n\n#### 3. Install dependencies\n\nUse the provided requirements.txt file to install the necessary packages:\n\n`pip install -r requirements.txt`\n\n#### 4. Configure Environment Variables\n\nCreate a .env file in the root directory of your project and add the following environment variables:\n\n`GITHUB_PERSONAL_ACCESS_TOKEN=\u003cyour-github-token\u003e`\n\nAlternatively, you can set these variables directly in your settings.py file under django.conf.settings.\n\n#### 5. Run Database Migrations\n\npython manage.py migrate\n\n#### 6. Create a Superuser (optional)\n\nTo access the Django admin interface, create a superuser:\n\n`python manage.py createsuperuser`\n\n#### 7. Run the Development Server\n\nStart the Django development server:\n\n`python manage.py runserver` or run in command prompt the _run_server.bat_\n\nThe application should now be accessible at http://127.0.0.1:8000/.\n\n## **Usage**\n\n**Register/Login:**\n\n* Navigate to the login page and enter your GitHub username.\n  ![img.png](img/img.png)\n\n  * Upon successful login, you will be redirected to your profile page.\n    ![img_1.png](img/img_1.png)\n    ![img_7.png](img/img_7.png)\n\n\n**View and Manage Repositories:**\n\n* From the profile page, you can view a list of your repositories.\n* Use the \"Create Repository\" button to add new repositories.\n* You can also delete existing repositories.\n\n![img_2.png](img/img_2.png)\n\n**View Contribution Stats:**\n\n* Navigate to the \"Repositories Contribution Stats\" page to view detailed statistics on your GitHub activities,\n  including commits, pull\n  requests, and issues.\n  ![img_3.png](img/img_3.png)\n\n![img_5.png](img/img_5.png)\n\n**Language Statistics:**\n\n* The \"Repositories Language Statistics\" page provides a breakdown of the programming languages used in your\n  repositories. As well as a chart of the evolution of programming languages in time.\n  ![img_6.png](img/img_6.png)\n\n## **Additional Notes**\n\n- Ensure that your GitHub Personal Access Token has the necessary permissions to access the API endpoints used by the\n  application, such as repo and user scopes.\n\n\n- For production use, consider configuring a secure setup, such as setting up HTTPS and a production-ready web server\n  like Gunicorn or uWSGI with Nginx.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreeadraghici%2Fgithub-metrics-dashboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreeadraghici%2Fgithub-metrics-dashboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreeadraghici%2Fgithub-metrics-dashboard/lists"}