Latest / AI & agents

promptr

github.com · Open source · Maintained

CLI that applies plain-language GPT instructions to your files

Visit github.com ↗Share

  • AI & agents
  • Open source
  • JavaScript
  • Day-7 check
  • Day-30 check
Stars
952
Forks
34
Open issues
5
Last commit
Releases
25
Found
3 years ago

GitHub figures as of . They are context, not a ranking.

promptr is a command-line tool that sends files and instructions to GPT and can apply the suggested changes to your codebase. It suits developers who want to automate refactoring or code generation with prompt templates.

Repository description on GitHub: “Promptr is a CLI tool that applies plain language instructions to the filesystem. Instructions can utilize a liquidjs based templating system. Use cases include refactoring, code generation, and experimentation.”

What it does

  • Applies plain-language GPT instructions to the files you reference
  • Reads instructions from a prompt file with the -p option
  • Supports liquidjs templating in prompts

Good for

  • Refactor referenced files using a plain English instruction
  • Generate code changes from a reusable prompt template
  • Review the edits in git after Promptr changes the files

Suits: Developers automating refactors with GPT prompts.

Worth knowing: Writes changes directly to the referenced files, so the README advises committing first

What you can try

Read the README on GitHub and install from source.

Install

yarn global add @ifnotnowwhen/promptr
npm install -g @ifnotnowwhen/promptr

Taken from the project’s README. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw promptr on , when deathmonger5000 posted it to Show HN. The oldest published release on GitHub is 2.0.3, dated . Its first tagged release came 4 days after it was found. 25 releases have been published in total; the latest is v6.1.0 ().

Day-7 and day-30 updates

Day 7 1 release shipped

  • 1 release in the first 7 days: 2.0.3 (8 Apr 2023)
  • Show HN discussion at check time: 109 points, 95 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 10 releases shipped

  • 10 releases in the first 30 days: 2.0.5 (12 Apr 2023), 3.0.0 (12 Apr 2023), 3.0.1 (13 Apr 2023), v3.0.2 (14 Apr 2023), v3.0.3 (20 Apr 2023), v3.0.4 (20 Apr 2023), v3.0.5 (20 Apr 2023), v3.0.6 (2 May 2023) and earlier ones
  • Show HN discussion at check time: 109 points, 95 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: ferrislucas/promptr
  2. Found: deathmonger5000 posted it to Show HN. Show HN
  3. Release 2.0.3
  4. Release v6.0.3
  5. Release v6.0.4
  6. Release v6.0.5
  7. Release v6.0.6
  8. Release v6.0.7
  9. Release v6.1.0
  10. Day-7 check recorded by Kip (details)
  11. Day-30 check recorded by Kip (details)

Showing the first and the 6 latest of 25 releases. All releases on GitHub

Quick answers

When was promptr released?
Its first tagged release on GitHub is dated 8 Apr 2023. Kip found it on Show HN on 4 Apr 2023.
Is promptr open source?
Its source is public on GitHub at ferrislucas/promptr under the MIT licence.
What does promptr run on?
Command line.
Is promptr free?
It is open source, so the code is free to read and run; check the licence for terms.
Is promptr still maintained?
It had a commit or release in the last year, though not in the last 90 days, as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryferrislucas/promptr
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-35438400. Summary written by KipFound’s editor.

Share

Similar tools

More in AI & agents

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.