{"id":20003624,"url":"https://github.com/theanuragshukla/lootcode","last_synced_at":"2026-06-08T08:32:30.558Z","repository":{"id":224901967,"uuid":"764539013","full_name":"theanuragshukla/lootcode","owner":"theanuragshukla","description":"Lootcode is a CLI tool, which provides funtionalitity for accessing problems, getting solutions, submitting solutions, and much more.","archived":false,"fork":false,"pushed_at":"2024-02-28T12:48:14.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-24T12:44:12.538Z","etag":null,"topics":["bot","leetcode","leetcode-solutions","lootcode","scripting"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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-02-28T09:06:16.000Z","updated_at":"2024-05-17T16:04:43.000Z","dependencies_parsed_at":"2024-02-28T10:31:56.100Z","dependency_job_id":"0bf826c5-52a5-44e5-a65f-78a515d1c1a4","html_url":"https://github.com/theanuragshukla/lootcode","commit_stats":null,"previous_names":["theanuragshukla/lootcode"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/theanuragshukla/lootcode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theanuragshukla%2Flootcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theanuragshukla%2Flootcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theanuragshukla%2Flootcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theanuragshukla%2Flootcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theanuragshukla","download_url":"https://codeload.github.com/theanuragshukla/lootcode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theanuragshukla%2Flootcode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34055249,"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-08T02:00:07.615Z","response_time":111,"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":["bot","leetcode","leetcode-solutions","lootcode","scripting"],"created_at":"2024-11-13T05:26:29.458Z","updated_at":"2026-06-08T08:32:30.536Z","avatar_url":"https://github.com/theanuragshukla.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LootCode CLI\n\nLootCode CLI is a command-line interface (CLI) tool for interacting with LeetCode, providing various functionalities such as logging in, logging out, configuring settings, submitting solutions, retrieving solutions, and automating problem solving and submission.\n## Installation\n\nTo install LootCode CLI, make sure you have Node.js installed on your system. Then, run the following command:\n\n```bash\nnpm install -g lootcode\n```\n\n\n## Usage\n\nAfter installation, you can use the `lc` command to access the LootCode CLI tool. Here are the available commands and their usage:\n### Logging In\n\nTo log in to your LeetCode account, use the following command:\n\n```bash\nlc login\n```\n\n\n### Logging Out\n\nTo log out from your LeetCode account, use the following command:\n\n```bash\nlc logout\n```\n\n\n### Configuration\n\nYou can configure default settings such as language and file for submissions using the `config` command:\n\n```bash\nlc config -l \u003clanguage\u003e -f \u003cfile\u003e\n```\n\n\n### Submitting Solutions\n\nTo submit a solution for a specific problem, use the following command:\n\n```bash\nlc submit \u003cproblem_slug\u003e -l \u003clanguage\u003e -f \u003cfile\u003e\n```\n\n\n### Retrieving Solutions\n\nTo retrieve the solution for a specific problem, use the following command:\n\n```bash\nlc solution \u003cproblem_slug\u003e\n```\n\n\n### Automated Problem Solving and Submission\n\nYou can request to solve and submit a problem automatically using the following command:\n\n```bash\nlc please \u003cproblem_slug\u003e\n```\n\n## Example Usage\n```bash\n# Log in to LeetCode\nlc login\n\n# Submit a solution for a problem with slug 'two-sum'\nlc submit two-sum --language javascript --file solution.js\n\n# Retrieve the solution for a problem with slug 'two-sum'\nlc solution two-sum\n\n# Solve and submit a problem with slug 'two-sum' automatically\nlc please two-sum --language python\n```\n\n## Contributing\n\nContributions are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheanuragshukla%2Flootcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheanuragshukla%2Flootcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheanuragshukla%2Flootcode/lists"}