I’ve been using ChatGPT’s Projects feature for coding assistance, and while it’s helpful, I’d love a CLI tool (or API) that allows developers to sync files with ChatGPT Projects directly from the terminal.
The Idea:
- A ChatGPT CLI that lets users push code files to a Project, similar to git push or heroku deploy.
- Ability to sync only changed files
- Possibly of tying into Git commits (updates both git/chat project folder)
Why This Would Be Useful
- Faster workflow: Instead of manually zipping and uploading files, a chatgpt push command could keep the Project in sync.
- Better AI context: ChatGPT would always have the latest project files, making responses more accurate.
- Git-friendly: Developers could automate syncing only changed files when committing updates.
Possible Implementation
A CLI that supports commands like:
perl
Copy
Edit
chatgpt login
chatgpt push --project my-flask-app
chatgpt pull --project my-flask-app
Or even a file watcher mode:
css
Copy
Edit
chatgpt watch --project my-flask-app
where it automatically uploads changes when files are modified.
Thanks!