Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hemantasapkota/insta
Instagram power tool
https://github.com/hemantasapkota/insta
bot golang golang-application instagram instagram-client instagram-scraper terminal
Last synced: 3 months ago
JSON representation
Instagram power tool
- Host: GitHub
- URL: https://github.com/hemantasapkota/insta
- Owner: hemantasapkota
- License: mit
- Created: 2017-05-01T08:12:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-08T02:07:17.000Z (almost 6 years ago)
- Last Synced: 2024-10-12T07:13:54.837Z (3 months ago)
- Topics: bot, golang, golang-application, instagram, instagram-client, instagram-scraper, terminal
- Language: Go
- Homepage:
- Size: 5.31 MB
- Stars: 57
- Watchers: 9
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Go Report Card](https://goreportcard.com/badge/github.com/hemantasapkota/insta)](https://goreportcard.com/report/github.com/hemantasapkota/insta)
# Insta - Power tool for Instagram.
Insta is a command line power tool for Instagram. With it, you can like, follow, comment and query Instagram.
# Motivation
There're plenty of Instagram automation tools floating around the web and app stores. Most of them, however, ask for your username and password which poses a big safety risk.
With insta, you can automate engagement yourself.
# How do i install it ?
* ``` git clone https://github.com/hemantasapkota/insta ```
* ``` go get . && go build ```# Usage
You can specify credentials inline or via a file.
* Inline credentials
``` insta -username user1 -password pass1 ```* Create a **.credentials.yaml** file. Sample content below.
```yaml
acc1:
username: user1
password: pass1acc2:
username: user2
password: pass2```
``` insta -account acc1 ```
Insta can be used anonynously using the test account. Test account is also a great way to quicky script flows.
``` insta -username test -password test ```
# Features
* Interactive console
* Manage multiple accounts
* Database log
* Built-in DSL for scripting flows# Flows
Insta comes with a built-in DSL that can be used to script flows. Example flow listed below:
```
$(get_data path=explore/tags/coffee => result)
$(loop range=0,5 => i)
$(filter var=result query=entry_data.TagPage[0].graphql.hashtag.edge_hashtag_to_media.edges[$(`i`)].node.display_url => url)
$(download url="$(`url`)")
$(pool)```
The script queries for the tag *coffee*, loops through the result 5 times, filters the image url from the result and downloads it.
See the examples folder for more sample scripts.To the run examples using test account:
``` ./insta -silent -json -username test -password test -execFile=examples/insta_01.iml ```
# Roadmap
* True automation
* CLI app
* Mobile apps ( IOS & Android )
* Chrome extension