{"id":13628243,"url":"https://github.com/jasonstitt/promptform","last_synced_at":"2025-06-30T02:05:41.602Z","repository":{"id":147938360,"uuid":"619331765","full_name":"jasonstitt/promptform","owner":"jasonstitt","description":"Command-line tool for running files in bulk through ChatGPT APIs","archived":false,"fork":false,"pushed_at":"2023-03-27T15:16:33.000Z","size":95,"stargazers_count":9,"open_issues_count":7,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-10T18:01:36.779Z","etag":null,"topics":["ai","chatgpt","gpt","llm"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/promptform","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/jasonstitt.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-26T23:07:21.000Z","updated_at":"2024-12-20T10:27:23.000Z","dependencies_parsed_at":"2023-05-19T12:45:28.190Z","dependency_job_id":null,"html_url":"https://github.com/jasonstitt/promptform","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jasonstitt/promptform","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonstitt%2Fpromptform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonstitt%2Fpromptform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonstitt%2Fpromptform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonstitt%2Fpromptform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jasonstitt","download_url":"https://codeload.github.com/jasonstitt/promptform/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonstitt%2Fpromptform/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262697255,"owners_count":23349891,"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","chatgpt","gpt","llm"],"created_at":"2024-08-01T22:00:49.046Z","updated_at":"2025-06-30T02:05:41.574Z","avatar_url":"https://github.com/jasonstitt.png","language":"TypeScript","funding_links":[],"categories":["Uncategorized","TypeScript"],"sub_categories":["Uncategorized"],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/13382947/227956167-f750eb04-1832-4307-8067-b8db0dcd7569.png\"\u003e\u003c/p\u003e\n\n# `promptform`\n\n![license](https://img.shields.io/badge/license-MIT-green)\n\nPromptform is an open-source command-line tool for running files in bulk through the OpenAI Completions API (e.g., with GPT-3.5).\n\n## Disclaimer\n\nPromptForm is not affiliated with OpenAI. Users are responsible for managing their own OpenAI account, API key, and related charges incurred during usage. Please refer to OpenAI's [Pricing](https://openai.com/pricing) for more information on costs associated with using the Completions API.\n\n## Features\n\n- Easily run entire directories of files through the OpenAI Completions API\n- Include and exclude file glob patterns\n- Replace content in-place or create new files alongside source files\n- Designed for use with GPT-3.5 and compatible with future versions\n- User-friendly command line interface\n\n## Installation\n\n```bash\n$ npm install -g promptform\n```\n\n## Usage\n\nSet up your OpenAI API key, either in a file, or as an environment variable.\n\n```bash\necho 'your_api_key_here' \u003e $HOME/.openai-token\n# or\nexport OPENAI_API_KEY='your_api_key_here'\n```\n\nDiscover options using the command-line help.\n\n```bash\npromptform --help\n```\n\n## Examples\n\nSummarize all text files:\n\n```bash\npromptform --token-file ~/.openai-token --include '**/*.txt' --prompt 'Summarize this text:' --extension '.summary.txt'\n```\n\nGenerate unit tests:\n\n```bash\npromptform --token-file ~/.openai-token --include '**/*.ts' --omit '**/*.test.ts' --prompt 'Output only code and do not explain. Write unit tests for this TypeScript module:' --extension '.test.ts'\n```\n\n## License\n\nPromptform is licensed under the MIT License. See `LICENSE`.\n\n## Maintainers\n\n* Jason Stitt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasonstitt%2Fpromptform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjasonstitt%2Fpromptform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasonstitt%2Fpromptform/lists"}