{"id":16537841,"url":"https://github.com/pablolec/insta_newspaper","last_synced_at":"2025-10-07T14:30:04.520Z","repository":{"id":43397963,"uuid":"342591463","full_name":"PabloLec/insta_newspaper","owner":"PabloLec","description":"CLI to download old newspaper front pages and post it on Instagram.","archived":false,"fork":false,"pushed_at":"2024-07-10T08:01:13.000Z","size":1957,"stargazers_count":7,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-17T23:52:05.261Z","etag":null,"topics":["bot","cli","instagram","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PabloLec.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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-02-26T13:56:20.000Z","updated_at":"2023-02-14T02:14:21.000Z","dependencies_parsed_at":"2024-10-28T10:17:16.765Z","dependency_job_id":"255671fe-7368-4250-8eda-10da7f7e5e69","html_url":"https://github.com/PabloLec/insta_newspaper","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloLec%2Finsta_newspaper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloLec%2Finsta_newspaper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloLec%2Finsta_newspaper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloLec%2Finsta_newspaper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PabloLec","download_url":"https://codeload.github.com/PabloLec/insta_newspaper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244772587,"owners_count":20508018,"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":["bot","cli","instagram","python"],"created_at":"2024-10-11T18:43:41.798Z","updated_at":"2025-10-07T14:29:59.474Z","avatar_url":"https://github.com/PabloLec.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.instagram.com/nouvelles_du_passe/\"\u003e\n        :camera_flash: \u003cb\u003eCheck out this repo in action!\u003c/b\u003e :camera_flash:\u003cbr\u003e\n        \u003cimg src=\"docs/assets/instagram_nametag_500px.png\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n# Insta Newspaper [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\nInsta Newspaper is a CLI to download old newspaper front pages and post it on Instagram.\n\nIt was done as a personal project but can easily be adapted for your needs.\n\n## Installation\n\nThe CLI part of the project is based on [typer](https://github.com/tiangolo/typer \"typer\"), cross-OS compatibility should not be an issue.\nRegarding the Instagram posting process, it relies on Selenium with Gecko driver. See the [official repo](https://github.com/mozilla/geckodriver \"geckodriver repository\") for installation, on most linux distros you could probably use the package `firefox-geckodriver`.\n\n#### Install from source:\n\n```\ngit clone https://github.com/pablolec/insta_newspaper\ncd insta_newspaper\npip install .\n```\n\n**To finish installation** mind modifying `config.yaml.example` with your own parameters and renaming it `config.yaml`.\n\n## Demo\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"docs/assets/demo.gif\"\u003e\n\u003c/p\u003e\n\n## Usage\n\n- `insta_newspaper new_post -n SELECTED_NAMES [-h]`\n\n  Main command to scrap image(s) and post it on IG. Just replace [SELECTED_NAMES] by one or more newspaper names. Names must be separated by spaces, you can also only input part of the names, the utility will look inside reference for matches.\n\n  Add `-h` to start a headless Gecko driver. No Firefox window will be displayed.\n\n- `insta_newspaper save_cookies`\n\n  A Firefox window will be displayed and you will be prompted to log in manually to Instagram. Then, you can press any key in terminal to close Firefox and store your cookies.\n\n- `insta_newspaper login`\n\n  Simply opens a Firefox window and automatically logs you in. This may be useful to manage your account for example.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablolec%2Finsta_newspaper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpablolec%2Finsta_newspaper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablolec%2Finsta_newspaper/lists"}