{"id":20003645,"url":"https://github.com/theanuragshukla/gfg_potd_solver","last_synced_at":"2026-04-13T17:06:34.512Z","repository":{"id":231528224,"uuid":"781979084","full_name":"theanuragshukla/gfg_potd_solver","owner":"theanuragshukla","description":"GFG POTD Solver","archived":false,"fork":false,"pushed_at":"2024-05-07T09:32:18.000Z","size":19,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-12T13:26:53.901Z","etag":null,"topics":["bash","bot","geeksforgeeks-solutions","python","script"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/theanuragshukla.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-04-04T12:06:40.000Z","updated_at":"2024-05-07T09:32:21.000Z","dependencies_parsed_at":"2024-04-07T05:24:13.953Z","dependency_job_id":"fce059da-a084-4a08-b129-3bb1a2a433f8","html_url":"https://github.com/theanuragshukla/gfg_potd_solver","commit_stats":null,"previous_names":["theanuragshukla/gfg_potd_solver"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theanuragshukla%2Fgfg_potd_solver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theanuragshukla%2Fgfg_potd_solver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theanuragshukla%2Fgfg_potd_solver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theanuragshukla%2Fgfg_potd_solver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theanuragshukla","download_url":"https://codeload.github.com/theanuragshukla/gfg_potd_solver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241442962,"owners_count":19963710,"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":["bash","bot","geeksforgeeks-solutions","python","script"],"created_at":"2024-11-13T05:26:35.479Z","updated_at":"2025-11-25T17:04:23.394Z","avatar_url":"https://github.com/theanuragshukla.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GFG_POTD_SOLVER\nThis is a simple project which aims to:\n- automatically pull potd\n- fetch correct solution from editorial\n- submit the solution\n\n# Credentials\nFor this to work as exected, It needs two sets of credentials:\n1. Decoy creds\n  - This is used to fetch solutions\n  - location:  `decoy_creds.env`\n2. Real creds\n  - Used at time of submission\n  - Submissions will reflect on this account\n  - location: `real_creds.env`\n3. Empty creds\n  - used to clear previously set creds on runtime\n  - use it as a reference while creating `decoy_creds.env` and `real_creds.env`\n\n# Pre-requisites\n1. Python3\n2. Bash -\u003e (/bin/bash)\n3. sed\n4. curl\n\n# Languages supported\n1. Java (java) (dafault)\n2. C++ (cpp)\n\nAll the above commands should be accessible to the current user.\n\n# Usage guide\n1. Create two accounts on GFG, if you already don't have it\n2. grab the cookies of both accounts and put it in their respective env files\n3. Install requirements using pip\n```sh\npip install -r requirements.txt\n```\n4. start the script\n```sh\npython3 main.py \u003clanguage\u003e\n```\n\n\n# Anything else\n- Schedule a cron-job to run the script automatically daily\n```sh\n0 3 * * * \u003cabsolute path to start file\u003e\n```\n\n# FAQ\n1. How to get cookies ?\n   - Open the browser\n   - Visit official GFG website\n   - open developer tools in your browser\n   - head over to cookies section\n     - Chrome: application -\u003e storage -\u003e cookies\n     - Firefox: storage -\u003e cookies\n   - Copy the required cookies\n2. How to open developer tools ?\n   - Leave it dude, Its not for everyone xD\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheanuragshukla%2Fgfg_potd_solver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheanuragshukla%2Fgfg_potd_solver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheanuragshukla%2Fgfg_potd_solver/lists"}