Settings

Theme

Show HN: Githrun – Run Python Scripts from GitHub URLs and VS Code Extension

amit.is-a.dev

2 points by notamitgamer 2 months ago · 1 comment · 1 min read

Reader

I built Githrun to eliminate the need to clone entire repositories just to run a single utility script.

Key Features:

Instant Execution: Run any Python script via its GitHub URL or Gist ID using githrun run [URL].

VS Code Extension: I've added a VS Code extension so you can execute remote scripts directly from your editor.

Local Shims: It creates local shims in your PATH, allowing remote scripts to behave like native CLI tools.

Smart Caching: To avoid GitHub API rate limits, it caches metadata and responses locally.

It’s open-source (MIT) and available on PyPI. I'd love to hear what you think of the VS Code integration!

notamitgamerOP 2 months ago

I created Githrun because I was tired of cloning entire repos just to test a single utility script or run a quick tool.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection