Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/KrauseFx/instapipe
Automatically cross-post your Instagram stories
https://github.com/KrauseFx/instapipe
Last synced: 3 months ago
JSON representation
Automatically cross-post your Instagram stories
- Host: GitHub
- URL: https://github.com/KrauseFx/instapipe
- Owner: KrauseFx
- License: mit
- Created: 2019-03-02T12:14:08.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-06T15:16:59.000Z (almost 2 years ago)
- Last Synced: 2024-04-21T03:43:16.806Z (7 months ago)
- Language: Ruby
- Homepage: https://instapipe.net
- Size: 1.7 MB
- Stars: 155
- Watchers: 7
- Forks: 12
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Development
## Dependencies
```
bundle install
```## Backend
```
bundle exec ruby server.rb
```## Scheduler
```
bundle exec ruby scheduler.rb
```## Environment variables
```
GC_BUCKET_NAME
GC_KEYS
GC_PROJECT_ID
IG_BUSINESS_USER_ID
INSTAGRAM_APP_ID
INSTAGRAM_APP_SECRET
INSTAGRAM_USER_ACCESS_TOKEN
KRAUSEFX_USER_FOR_DEMO
TELEGRAM_TOKEN
DATABASE_URL
```To get the `TELEGRAM_CHAT_ID`, use Telegram Web, open the Group, and look at the address bar, find something like `-1647951758`, and prefix it with `-100` (https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/69302407#69302407)
`GC_KEYS` can either be an environment variable, or you can pass the Google Cloud credentials by having a `gc_keys.json` file in the root directory of the project
## Generating the widget
```
bundle exec ruby generate_widget.rb
```This will generate `instapipe.html`, a single file containing all the "dependencies" needed
## Refresh Instagram Session/Token
No more need to manually interact with the server. Just go to https://instapipe.net/ and start the auth flow again