InstagramRobot is a bot based on Telegram Bot API written in Golang that allows users to download public Instagram photos, videos, and albums, without getting the user's credentials.
- Installing
- Configuration
- Installing via Kubernetes by using helm
- Installing via Docker
- Installing as a service
Alternatively, you can download this project by cloning its Git repository:
git clone https://github.com/omegaatt36/instagramrobot.gitgo run main.go --bot-token=***** --app-env=developmentpushd deploy/charts/bot
helm upgrade --install -v values.yaml insta-fetcher .
popdDocker is a tool designed to make it easier to create, deploy, and run applications by using containers.
Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies, and deploy it as one package.
If you're not familiar with Docker, this guide is a great point to start.
docker compose builddocker compose up -f deploy/docker-compose.ymlMake sure that the project files exist in the /usr/local/instagramrobot directory.
If you don't have Go installed, click here and follow its instructions.
go build cmd/bot/main.go -o bin/insta-fetcherStart by creating the /etc/systemd/system/insta-fetcher.service file.
[Unit]
Description=Telegram Instagram Bot Service
[Service]
WorkingDirectory=/usr/local/instagramrobot/bin
User=root
ExecStart=/usr/local/instagramrobot/bin/insta-fetcher --bot-token=FILL_ME
Restart=on-failure
RestartPreventExitStatus=23
[Install]
WantedBy=multi-user.targetDon't forget to replace the --bot-token=FILL_ME with the correct bot token.
systemctl enable insta-fetchersystemctl start insta-fetcherPowered by HTMX
go run cmd/web/main.goThen you can open http://localhost:8080 on your browser.