{"id":13466188,"url":"https://github.com/omegaatt36/instagramrobot","last_synced_at":"2025-03-25T21:31:34.422Z","repository":{"id":59046142,"uuid":"412046827","full_name":"omegaatt36/instagramrobot","owner":"omegaatt36","description":"🤖 A Telegram bot written in Golang allows users to download public Instagram photos, videos, and albums without receiving the user's credentials.","archived":false,"fork":false,"pushed_at":"2024-10-16T07:45:38.000Z","size":390,"stargazers_count":15,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-17T23:33:06.676Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/omegaatt36.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-30T12:00:09.000Z","updated_at":"2024-10-16T07:45:35.000Z","dependencies_parsed_at":"2024-01-13T17:59:42.955Z","dependency_job_id":"e814c706-dc81-42c2-9348-dad0044ee80c","html_url":"https://github.com/omegaatt36/instagramrobot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omegaatt36%2Finstagramrobot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omegaatt36%2Finstagramrobot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omegaatt36%2Finstagramrobot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omegaatt36%2Finstagramrobot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omegaatt36","download_url":"https://codeload.github.com/omegaatt36/instagramrobot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222091971,"owners_count":16929755,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T15:00:40.584Z","updated_at":"2025-03-25T21:31:34.411Z","avatar_url":"https://github.com/omegaatt36.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# InstagramRobot\n\n\u003c!-- [START badges] --\u003e\n\n[![wakatime](https://wakatime.com/badge/user/61550660-cb83-43cc-9bc5-cf742c36b4cd/project/5ee6b14b-f44a-4330-a9ce-ff24385d9c28.svg)](https://wakatime.com/badge/user/61550660-cb83-43cc-9bc5-cf742c36b4cd/project/5ee6b14b-f44a-4330-a9ce-ff24385d9c28)\n[![Docker Build and Push](https://github.com/omegaatt36/instagramrobot/actions/workflows/release.yml/badge.svg)](https://github.com/omegaatt36/instagramrobot/actions/workflows/release.yml)\n[![Build status](https://github.com/omegaatt36/instagramrobot/actions/workflows/lint.yml/badge.svg)](https://github.com/omegaatt36/instagramrobot/actions/workflows/lint.yml)\n[![CodeFactor](https://www.codefactor.io/repository/github/omegaatt36/instagramrobot/badge)](https://codefactor.io/repository/github/omegaatt36/instagramrobot)\n[![Go report](https://goreportcard.com/badge/github.com/omegaatt36/instagramrobot)](https://goreportcard.com/report/github.com/omegaatt36/instagramrobot)\n[![License](https://img.shields.io/github/license/omegaatt36/instagramrobot?color=blue)](https://github.com/omegaatt36/instagramrobot/blob/main/LICENSE)\n[![Contributing](https://img.shields.io/badge/PRs-welcome-blue.svg?color=d9ecde)](https://github.com/omegaatt36/instagramrobot/pulls)\n\u003c!-- [END badges] --\u003e\n\n\u003c!-- [START description] --\u003e\n\n\u003e [InstagramRobot](https://github.com/omegaatt36/instagramrobot) is a bot based on [Telegram Bot API](https://core.telegram.org/bots/api) written in [Golang](https://golang.org/) that allows users to download public [Instagram](https://www.instagram.com/) photos, videos, and albums, without getting the user's credentials.\n\n\u003c!-- [END description] --\u003e\n\n## Table of contents\n\n- [Installing](#installing-telegram-bot)\n- [Configuration](#configuration)\n- [Installing via Kubernetes by using helm](#installing-via-kubernetes-by-using-helm)\n- [Installing via Docker](#installing-via-docker)\n  - [Building the container](#building-the-container)\n  - [Running the container](#running-the-container)\n- [Installing as a service](#installing-as-a-service)\n  - [Build the application](#build-the-application)\n  - [Register the service](#register-the-service)\n  - [Enable the service at boot](#enable-the-service-at-boot)\n  - [Start the service](#start-the-service)\n\n## Installing Telegram Bot\n\nAlternatively, you can download this project by cloning its Git repository:\n\n```bash\ngit clone https://github.com/omegaatt36/instagramrobot.git\n```\n\n### Configuration\n\n```bash\ngo run main.go --bot-token=***** --app-env=development\n```\n\n### Installing via Kubernetes by using helm\n\n```shell\npushd deploy/charts/bot\nhelm upgrade --install -v values.yaml insta-fetcher .\npopd\n```\n\n### Installing via Docker\n\nDocker is a tool designed to make it easier to create, deploy, and run applications by using containers.\n\nContainers 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.\n\nIf you're not familiar with Docker, [this guide](https://docs.docker.com/get-started/) is a great point to start.\n\n#### Building the container\n\n```sh\ndocker compose build\n```\n\n#### Running the container\n\n```sh\ndocker compose up -f deploy/docker-compose.yml\n```\n\n### Installing as a service\n\nMake sure that the project files exist in the `/usr/local/instagramrobot` directory.\n\n#### Build the application\n\n\u003e If you don't have Go installed, [click here](https://golang.org/doc/install) and follow its instructions.\n\n```sh\ngo build cmd/bot/main.go -o bin/insta-fetcher\n```\n\n#### Register the service\n\nStart by creating the `/etc/systemd/system/insta-fetcher.service` file.\n\n```sh\n[Unit]\nDescription=Telegram Instagram Bot Service\n\n[Service]\nWorkingDirectory=/usr/local/instagramrobot/bin\nUser=root\nExecStart=/usr/local/instagramrobot/bin/insta-fetcher --bot-token=FILL_ME\nRestart=on-failure\nRestartPreventExitStatus=23\n\n[Install]\nWantedBy=multi-user.target\n```\n\nDon't forget to replace the `--bot-token=FILL_ME` with the correct bot token.\n\n#### Enable the service at boot\n\n```sh\nsystemctl enable insta-fetcher\n```\n\n#### Start the service\n\n```sh\nsystemctl start insta-fetcher\n```\n\n## Start Web Version\n\nPowered by [HTMX](https://htmx.org/)\n\n```shell\ngo run cmd/web/main.go\n```\n\nThen you can open `http://localhost:8080` on your browser.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomegaatt36%2Finstagramrobot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomegaatt36%2Finstagramrobot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomegaatt36%2Finstagramrobot/lists"}