Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/teresaromero/instafy
Command Line Tool to backup your instagram posts.
https://github.com/teresaromero/instafy
Last synced: about 1 month ago
JSON representation
Command Line Tool to backup your instagram posts.
- Host: GitHub
- URL: https://github.com/teresaromero/instafy
- Owner: teresaromero
- License: mit
- Created: 2021-12-31T10:07:14.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-03T11:28:07.000Z (almost 3 years ago)
- Last Synced: 2024-10-16T14:56:38.439Z (3 months ago)
- Language: Go
- Size: 87.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🤳🏻 Instafy - backup your instagram posts
Instafy is a CLI to backup your instagram posts.
## Installation
All you need is install Go and run:
```
$ go get github.com/teresaromero/instafy
```## Usage
For using the CLI and perform the backups you will need to set the `access_token`. You can retrieve this token by using the login command.
```
$ ig login [username]
```### Help
```
ig helpUsage: ig [command] [options] [arguments]
Authorization Commands:
login Retrieve and save access_token.
logout Logout from the account. This deletes de token.
Backup Commands:
backup Save into cws the content.
Basic Commands:
help Show help.
version Show version.
```### Commands
#### backup
```
ig backup
```Save the first 20 posts (image, caption, likes, comments) for the instagram account. This generates a package .zip that is downloaded into current working directory where the CLI is running.
| Flag | Description | Default |
| ----------- | ----------- | ----------- |
| --all | save all the post for the authorized account | false |
| --storage | select download destination | cwd |
| --scope | choose what data you want to save | images-caption-comments-likes |#### delete
```
ig delete [post-id]
```| Flag | Description | Default |
| ----------- | ----------- | ----------- |
| --all | deletes all the instagram data | false |## Roadmap
- Oauth Instagram (work in progress)
- Backup first 20 posts into current working directory: image,caption
- Delete first 20 posts## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.
## License
[MIT](/LICENSE)