{"id":13861933,"url":"https://github.com/ScanLineDev/scanline","last_synced_at":"2025-07-14T09:34:21.089Z","repository":{"id":196295867,"uuid":"695691924","full_name":"ScanLineDev/scanline","owner":"ScanLineDev","description":"Expert AI code reviews  Catch bugs before they hurt  Run Scanline in your CLI to find: - race conditions - logical errors - security risks - optimizations","archived":false,"fork":false,"pushed_at":"2023-10-12T02:47:49.000Z","size":28272,"stargazers_count":48,"open_issues_count":3,"forks_count":12,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-05T06:04:29.797Z","etag":null,"topics":["ai","code-review"],"latest_commit_sha":null,"homepage":"https://scanline.ai","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/ScanLineDev.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":"2023-09-23T23:06:55.000Z","updated_at":"2024-05-11T09:15:19.000Z","dependencies_parsed_at":"2023-09-24T07:46:35.614Z","dependency_job_id":"58191b5c-9251-4563-9c96-2643026dc133","html_url":"https://github.com/ScanLineDev/scanline","commit_stats":null,"previous_names":["scanlinedev/scanline"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScanLineDev%2Fscanline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScanLineDev%2Fscanline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScanLineDev%2Fscanline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScanLineDev%2Fscanline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ScanLineDev","download_url":"https://codeload.github.com/ScanLineDev/scanline/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225968892,"owners_count":17553157,"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":["ai","code-review"],"created_at":"2024-08-05T06:01:33.230Z","updated_at":"2024-11-22T21:31:23.067Z","avatar_url":"https://github.com/ScanLineDev.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# ScanLine (Alpha)\n\nCatch bugs before they hurt. ScanLine reviews your code with GPT-4 and shows you how to improve it, like having an experienced code reviewer with you 24/7. \n\nScanLine is an **AI-based CLI tool** to quickly check your commit, branch, or entire repo for: \n- [x] 🏁 race conditions\n- [x] 🔒 security gaps\n- [x] 💡 inconsistent logic\n- [x] 🚀 performance\n- [x] ☑️ consistency\n- [x] ⚙️ optimization\n- [x] ⚠️ error handling\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg width=\"359\" alt=\"scanline-bash-2\" src=\"https://github.com/ScanLineDev/scanline/assets/2404105/c12668f1-1734-4907-903e-f1ca4d81b261\"\u003e\n\u003c/div\u003e\n\u003cdiv align=\"center\"\u003e\n\u003cimg width=\"1255\" alt=\"ScanLine_UI_Web_example\" src=\"https://github.com/ScanLineDev/scanline/assets/2404105/d8984fe3-42f2-4efa-b2ea-a93e05961c36\"\u003e\n\u003c/div\u003e\n\n## Why use Scanline? \n\n_“Scanline already saved us a few weeks on prod outages by catching race conditions”_ - CTO, ML infrastructure company \n\n_“I used to spend 5+ hours a day reviewing my team's code; now it's less than 1, while also uncovering more high-priority updates”_ - Eng Manager \n\n_“My team started complementing the quality of my PRs”_ - SWE\n\n_\"Code gen and automatic PRs are still unreliable, but Scanline's code review is immediately useful and actionable.\"_ - Friend who's tried a lot of AI tools \n\n# Quick Start - Install\n\n**For Apple M1+ Silicon (ARM64):**\n```bash\nbash -c \"$(curl -sSL https://raw.githubusercontent.com/ScanLineDev/scanline/main/install.sh)\"\n```\n\n**For Apple Intel (x86):**\n```bash\nbash -c \"$(curl -sSL https://raw.githubusercontent.com/ScanLineDev/scanline/main/install_x86.sh)\"\n```\n\nthen: \n\n`cd` into the repo and branch to review. Run `scanline`. \n\n(If you happen to not to set an OpenAI key during the install guide, then set a local `.env` file with your `OPENAI_API_KEY`, or `export OPENAI_API_KEY=xxx`.)\n\n## 1-minute Demo \n[scanline video demo](https://github.com/ScanLineDev/scanline/assets/2404105/43a46cc2-65f4-40ef-a7c0-b3d60cabdadb)\n\n_(Click video to play)_\n\n## How To Use \n```bash\n# see all available commands\nscanline --help \n\n# check all diffed changes on your current branch compared to main or master\nscanline\n\n# only review uncommited changes on the current branch \nscanline --scope commit\n\n# review all the code in the whole repo\nscanline --scope repo\n\n# in addition you can specify a single file. For example, here's how to see the changes to the file foo.py across only this last commit\nscanline --scope repo --file ./path/to/foo.py\n\n```\n\n#### Notes \nThis should not replace you doing good code review--it is meant to assist! \n\nThis is the V0 release, so it may be buggy \u0026 design may change quickly. \n\n# Contributing\n- Feel free to open a PR with your own changes if you'd like to see something added!\n- Open an issue if you find any bugs or have an ideas\n\n## Local development for testing (build with pip): \n`pip3 install -e .`\n\nNow you can run the CLI as `reviewme` above. It should auto-update if you change the python code. You may have to run `pip3 install -r requirements` first\n\nExperimental: You can add rule templates to /rule_templates directory. This text will be included in the prompt to the LLM, so the LLM can evaluate the code according to the style guide you write. \n\nExperimental: Modify config.yaml to tweak things like temperature, supported filetypes, and how many results to show per category. \n\n\n## Currently supported languages:\n```\nPython - .py\nJavaScript - .js\nTypeScript - .ts\nShell, Bash - .sh, .bash\nRust - .rs\nGo - .go\nC - .c\nC++ - .cpp, .cc, .cxx, .c++\nC# - .cs\nObjective-C - .m, .mm\nR - .r\nRuby - .rb\nPHP - .php\nJava - .java\nSwift - .swift\nKotlin - .kt, .kts\nScala - .scala\nPerl - .pl, .pm\nLua - .lua\nGroovy - .groovy, .grvy, .gy, .gvy\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FScanLineDev%2Fscanline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FScanLineDev%2Fscanline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FScanLineDev%2Fscanline/lists"}