https://github.com/mortend/gptsync
Seamlessly sync the latest AI output in a flash. 🧠⚡
https://github.com/mortend/gptsync
ai ai-output automation command-line extract files output sync tool zip
Last synced: 6 months ago
JSON representation
Seamlessly sync the latest AI output in a flash. 🧠⚡
- Host: GitHub
- URL: https://github.com/mortend/gptsync
- Owner: mortend
- License: mit
- Created: 2025-06-08T20:38:33.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-06-09T10:42:43.000Z (7 months ago)
- Last Synced: 2025-07-11T04:53:10.332Z (6 months ago)
- Topics: ai, ai-output, automation, command-line, extract, files, output, sync, tool, zip
- Language: JavaScript
- Homepage:
- Size: 119 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 
[](https://www.npmjs.com/package/gptsync)
[](LICENSE)
Seamlessly sync the latest AI output in a flash. 🧠⚡
`gptsync` is a simple yet powerful tool that automatically finds the most recent `.zip` file in your Downloads folder, typically output from AI systems, and extracts it to your current working directory. Perfect for quickly managing and updating AI-generated files.
## Features
- **Automatic file detection**: Finds the most recent `.zip` file from your Downloads folder.
- **Instant extraction**: Extracts files directly into your current working directory.
- **Command-line interface**: Easy-to-use CLI with the command `gptsync`.
- **AI-centric**: Perfect for handling output from AI tools and systems.
## Installation
```bash
npm install gptsync
```
## Usage
You can use `gptsync` from the command-line anywhere with `npx`:
```bash
npx gptsync
```
It will:
1. Find the most recent `.zip` file in your Downloads folder.
2. Extract it into your current working directory.
### Important Note:
- **Git Repository Must Be Clean**:
The tool checks if the Git repository is clean (no uncommitted changes or untracked files). If the repository is not clean, the extraction will not occur unless you pass the `--force` (`-f`) flag:
```bash
npx gptsync --force
```
This will allow the extraction even if the Git history is not clean. Use this flag cautiously.
## License
This project is licensed under the [MIT License](LICENSE).