{"id":21306621,"url":"https://github.com/nikhilweee/vsleet-vscode","last_synced_at":"2026-05-20T05:01:30.547Z","repository":{"id":200928850,"uuid":"705471235","full_name":"nikhilweee/vsleet-vscode","owner":"nikhilweee","description":"Submit LeetCode problems from within VS Code","archived":false,"fork":false,"pushed_at":"2025-03-27T05:12:41.000Z","size":448,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T06:22:48.233Z","etag":null,"topics":["leetcode-python","vscode-extension"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/nikhilweee.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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":"2023-10-16T04:28:30.000Z","updated_at":"2025-03-27T05:12:44.000Z","dependencies_parsed_at":"2024-01-07T01:56:05.980Z","dependency_job_id":"1778b43c-0a4a-4cfd-b8f8-b40d1defda2b","html_url":"https://github.com/nikhilweee/vsleet-vscode","commit_stats":null,"previous_names":["nikhilweee/vsleet","nikhilweee/vsleet-vscode"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/nikhilweee/vsleet-vscode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikhilweee%2Fvsleet-vscode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikhilweee%2Fvsleet-vscode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikhilweee%2Fvsleet-vscode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikhilweee%2Fvsleet-vscode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nikhilweee","download_url":"https://codeload.github.com/nikhilweee/vsleet-vscode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikhilweee%2Fvsleet-vscode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278734380,"owners_count":26036402,"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-10-07T02:00:06.786Z","response_time":59,"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":["leetcode-python","vscode-extension"],"created_at":"2024-11-21T16:27:09.453Z","updated_at":"2025-10-07T06:37:32.764Z","avatar_url":"https://github.com/nikhilweee.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vsleet\n\nVS Code extension for solving LeetCode problems directly from the editor.\n\nhttps://marketplace.visualstudio.com/items?itemName=nikhilweee.vsleet\n\n- **⚠️** This extension is under active development.\n- **⚠️** Backward compatibility is not guaranteed.\n- **⚠️** This extension only supports `python3` for now.\n\n## Features\n\n- Search and load problems directly from VS Code.\n- Load problem as a python file or jupyter notebook.\n- Test solution locally in your favourite editor.\n- Start with boilerplate complete with default tests.\n- Run and submit to leetcode directly from VS Code.\n- See stats including memory and runtime percentile.\n\n## Walkthrough\n\n![vsleet Walkthrough](https://i.imgur.com/jjc4z6h.gif)\n\nIn case the video doesn't load, here is the\n[direct link](https://i.imgur.com/jjc4z6h.gif).\n\n## Commands\n\n- `vsleet: New Problem`: Load a problem from LeetCode\n- `vsleet: New Notebook`: Load problem as Jupyter notebook\n- `vsleet: Paste Cookie`: Paste cookie to authenticate\n- `vsleet: Update Template`: Update solution template\n- `vsleet: Local Solution`: Run Code Locally\n- `vsleet: Run Solution`: Run solution on LeetCode\n- `vsleet: Submit Solution`: Submit solution to LeetCode\n- `vsleet: Open Description`: Open problem description\n\n## Keyboard Shortcuts\n\n- \u003ckbd\u003eshift\u003c/kbd\u003e+\u003ckbd\u003eenter\u003c/kbd\u003e: `vsleet: Local Solution`\n- \u003ckbd\u003ectrl/cmd\u003c/kbd\u003e+\u003ckbd\u003eenter\u003c/kbd\u003e: `vsleet: Run Solution`\n- \u003ckbd\u003ectrl/cmd\u003c/kbd\u003e+\u003ckbd\u003eshift\u003c/kbd\u003e+\u003ckbd\u003eenter\u003c/kbd\u003e:\n  `vsleet: Submit Solution`\n\nTip: If the \u003ckbd\u003eshift\u003c/kbd\u003e+\u003ckbd\u003eenter\u003c/kbd\u003e shortcut opens a Python REPL\ninstead, go to settings and set `python.REPL.sendToNativeREPL` to False.\n\n## Requirements\n\nThe `vsleet: Local Solution` command internally triggers\n`python.execInTerminal`, which relies on the official VS Code Python extension.\nThe other commands do not require any dependencies.\n\n## Authentication\n\nAlthough you can use the `vsleet: New Problem` and `vsleet: Local Solution`\ncommands freely without authentication, you need to be authenticated to\nleetcode.com to run `vsleet: Run Solution` and `vsleet: Submit Solution`.\n\n1. Login to leetcode.com from any browser.\n2. Copy all cookies for leetcode.com.\n3. Run the `vsleet: Paste Cookie` command.\n4. Paste the cookies copied from the browser.\n\nIf you are using chromium based browsers such as Google Chrome or Microsoft\nEdge, you can use our extension to copy cookies:\nhttps://chromewebstore.google.com/detail/vsleet/ihgifhobfmjhcelknpbjhpabkcghjmfh?hl=en\n\nIf you are an advanced user, feel free to copy cookies using browser devtools.\n\nThe `vsleet: Paste Cookie` command expectes a cookie string in the format:\n\n```\ncsrftoken=ABCDEF1234567890;LEETCODE_SESSION=ABCDEF1234567890;\n```\n\nSpecifically, the `csrftoken` and `LEETCODE_SESSION` cookies are required.\n\n## Known Limitations\n\n- The extension only supports `python3` for now.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikhilweee%2Fvsleet-vscode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikhilweee%2Fvsleet-vscode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikhilweee%2Fvsleet-vscode/lists"}