{"id":21034533,"url":"https://github.com/budougumi0617/leetgode","last_synced_at":"2025-05-15T13:32:48.071Z","repository":{"id":57562622,"uuid":"292286921","full_name":"budougumi0617/leetgode","owner":"budougumi0617","description":"LeetCode CLI for Gophers. This CLI can generate a skeleton code with test code.","archived":false,"fork":false,"pushed_at":"2020-10-14T17:20:33.000Z","size":74,"stargazers_count":19,"open_issues_count":4,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T10:04:24.308Z","etag":null,"topics":["cli","go","golang","hacktoberfest","leetcode"],"latest_commit_sha":null,"homepage":"","language":"Go","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/budougumi0617.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}},"created_at":"2020-09-02T13:12:28.000Z","updated_at":"2025-01-19T14:39:21.000Z","dependencies_parsed_at":"2022-09-17T14:10:38.516Z","dependency_job_id":null,"html_url":"https://github.com/budougumi0617/leetgode","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/budougumi0617%2Fleetgode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/budougumi0617%2Fleetgode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/budougumi0617%2Fleetgode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/budougumi0617%2Fleetgode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/budougumi0617","download_url":"https://codeload.github.com/budougumi0617/leetgode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254349595,"owners_count":22056380,"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":["cli","go","golang","hacktoberfest","leetcode"],"created_at":"2024-11-19T13:07:29.308Z","updated_at":"2025-05-15T13:32:48.054Z","avatar_url":"https://github.com/budougumi0617.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"leetgode\n====\n\n[![PkgGoDev](https://pkg.go.dev/badge/budougumi0617/leetgode)][godev]\n![test](https://github.com/budougumi0617/leetgode/workflows/test/badge.svg?branch=master)\n\n[godev]:https://pkg.go.dev/github.com/budougumi0617/regexponce\n\n## Description\nLeetCode CLI for Gophers.\n\n## VS.\n\n\n## Requirement\nThe leetgode CLI needs the authorization to execute some sub commands. Specifically, it needs `LEETCODE_SESSION`, and `csrftoken`.\n\n1. Open chrome and paste the link below to the chrome linkbar.\n    - `chrome://settings/cookies/detail?site=leetcode.com`\n1. Copy the contents of `LEETCODE_SESSION`, and `csrftoken`.\n1. Export below environment values by the use of `LEETCODE_SESSION`, and `csrftoken`.\n```bash\nexport LEETCODE_SESSION=${LEETCODE_SESSION}\nexport LEETCODE_TOKEN=${csrftoken}\n```\n\n\n## Usage\n\n```\nleetgode help\nUsage: leetgode is leetcode cli for gophers.\n\nSubCommands:\n exec     Submit solution\n generate Generate the skeleton code with the test file by id\n help     Help shows usages\n list     List problems\n pick     Pick a problem by id\n test     Test solution\n```\n\n## Install\nYou can download binary from [release page](https://github.com/budougumi0617/leetgode/releases) and place it in $PATH directory.\n\n### go get\n```\ngo get -u https://github.com/budougumi0617/leetgode/cmd/leetgode\n```\n\n### macOS\nIf you want to install on macOS, you can use Homebrew.\n```\nbrew install budougumi0617/tap/leetgode\n```\n\n## Contribution\n1. Fork ([https://github.com/budougumi0617/leetgode/fork](https://github.com/budougumi0617/leetgode/fork))\n2. Create a feature branch\n3. Commit your changes\n4. Rebase your local changes against the master branch\n5. Run test suite with the `go test ./...` command and confirm that it passes\n6. Run `gofmt -s`\n7. Create new Pull Request\n\n## License\n\n[MIT](https://github.com/budougumi0617/leetgode/blob/master/LICENSE)\n\n## Author\n\n[Yoichiro Shimizu(@budougumi0617)](https://github.com/budougumi0617)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbudougumi0617%2Fleetgode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbudougumi0617%2Fleetgode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbudougumi0617%2Fleetgode/lists"}