{"id":13594065,"url":"https://github.com/Horhik/Instagram2Fedi","last_synced_at":"2025-04-09T05:32:51.376Z","repository":{"id":39604135,"uuid":"401725364","full_name":"Horhik/Instagram2Fedi","owner":"Horhik","description":"Python script for crossposting from Instagram to Mastodon or Pixelfed","archived":false,"fork":false,"pushed_at":"2023-10-20T10:57:23.000Z","size":300,"stargazers_count":91,"open_issues_count":9,"forks_count":7,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-04-13T21:16:22.994Z","etag":null,"topics":["blogging","bot","crossposting","docker","federation","fediverse","instagram","mastodon","pixelfed","python","script"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Horhik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-08-31T14:04:37.000Z","updated_at":"2024-03-25T15:40:02.000Z","dependencies_parsed_at":"2023-11-11T20:42:20.761Z","dependency_job_id":null,"html_url":"https://github.com/Horhik/Instagram2Fedi","commit_stats":{"total_commits":74,"total_committers":7,"mean_commits":"10.571428571428571","dds":"0.17567567567567566","last_synced_commit":"f5cceda106b8abeab0e6b9c9c77f5f5fc82afb83"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Horhik%2FInstagram2Fedi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Horhik%2FInstagram2Fedi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Horhik%2FInstagram2Fedi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Horhik%2FInstagram2Fedi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Horhik","download_url":"https://codeload.github.com/Horhik/Instagram2Fedi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247987056,"owners_count":21028891,"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":["blogging","bot","crossposting","docker","federation","fediverse","instagram","mastodon","pixelfed","python","script"],"created_at":"2024-08-01T16:01:28.286Z","updated_at":"2025-04-09T05:32:48.688Z","avatar_url":"https://github.com/Horhik.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"_Guys... Instagram is sh*t. Even [bibliogram](https://www.reddit.com/r/privacy/comments/wrczxc/bibliogram_is_being_discontinued/) is being discontinued. If you're able to migrate you proile to any fediverse instance or contact to person, whose instagram you'd like to crosspost and ask him to post to fediverse to, it wil be the best desicion_\n\n# Instagram2Fedi \u003cspan\u003e\u003cimg width=\"50px\" src=\"https://upload.wikimedia.org/wikipedia/commons/9/93/Fediverse_logo_proposal.svg\"\u003e\u003c/span\u003e\n\nSimple tool for crossposting posts from instagram to Mastodon/Pixelfed.\n\n## Using without docker\nSee [Docs.md](./Docs.md)\n\n## Using docker-compose\n\n1. create `docker-compose.yaml` with following content\n_You can use default.docker-compose.yaml from repo_\n``` yaml\nversion: '3'\nservices:\n  bot:\n    build:\n      context: .\n    image: \"horhik/instagram2fedi:latest\"\n    environment:\n      - YOUR_CONTAINER_NAME=\u003cwhatever\u003e\n      - I2M_INSTAGRAM_USER=\u003cinstgram username\u003e\n      - I2M_INSTANCE=\u003cmastodon or pixelfed instance\u003e\n      - I2M_TOKEN=\u003cyour token here\u003e\n      - I2M_CHECK_INTERVAL=3600 #1 hour    \n      - I2M_POST_INTERVAL=3600 #1 hour   \n      - I2M_USE_MASTODON=4 #max carouse    - is 4, if there's no limit set to -1\n      - I2M_FETCH_COUNT=5 # how many instagram posts to fetch per check_interval   -\n      - I2M_USER_NAME=admin # Your instagram login name\n      - I2M_USER_PASSWORD=admin # Your instagram password\n```\n\n** Note: ** _Since somewhen it's seems not possible to fetch any data from instagram anonymously (maybe i'm wrong and there's a solution, I'll be very happy to know about it). Due that you unfortunately have to had an instagram accound and provide login and password to this script_\n\n2. And edit environment variables\n\n3. Run `docker-compose up -d`\n\n\n## Using with Dockerfile\n\nJust clone repo, specify variables and run it.\nYou can write all needed variables in `./env.sh` and then do `source ./run.sh`\n\n``` bash\ngit clone https://github.com/horhik/instagram2fedi\ncd instagram2fedi\nnano ./env.sh\nsource ./run.sh\n```\n\n\n![screenshot](./img.png)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHorhik%2FInstagram2Fedi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FHorhik%2FInstagram2Fedi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHorhik%2FInstagram2Fedi/lists"}