{"id":16452765,"url":"https://github.com/kangaroux/imgtweets","last_synced_at":"2025-03-23T10:31:53.071Z","repository":{"id":187389140,"uuid":"486411989","full_name":"Kangaroux/imgtweets","owner":"Kangaroux","description":"Image browser for Twitter. Easily view the images a user has posted to their timeline. React + DRF. https://imgtweets.com/","archived":false,"fork":false,"pushed_at":"2024-02-29T05:29:08.000Z","size":586,"stargazers_count":9,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T19:37:59.523Z","etag":null,"topics":["api","django","image","react","scraper","twitter"],"latest_commit_sha":null,"homepage":"https://imgtweets.com","language":"HTML","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/Kangaroux.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-28T01:56:49.000Z","updated_at":"2025-02-10T01:58:25.000Z","dependencies_parsed_at":"2024-10-28T15:51:34.863Z","dependency_job_id":"2df08d5f-6a09-4e44-85e4-f463640a32f1","html_url":"https://github.com/Kangaroux/imgtweets","commit_stats":null,"previous_names":["kangaroux/imgtweets"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kangaroux%2Fimgtweets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kangaroux%2Fimgtweets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kangaroux%2Fimgtweets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kangaroux%2Fimgtweets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kangaroux","download_url":"https://codeload.github.com/Kangaroux/imgtweets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245090701,"owners_count":20559296,"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":["api","django","image","react","scraper","twitter"],"created_at":"2024-10-11T10:13:44.335Z","updated_at":"2025-03-23T10:31:51.958Z","avatar_url":"https://github.com/Kangaroux.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# imgtweets - Twitter Image Viewer\n\n[Check it out here!](https://imgtweets.com/)\n\nThe goal of this project is to scrape images from Twitter and provide a website for viewing those images.\n\nTwitter is a great platform for sharing but terrible for searching. It can also be difficult to find something in a sea of tweets.\n\n## Local Dev Setup\n\nThis project requires the following:\n\n- Python 3.10\n- Node 14 (and yarn)\n\nDocker is used for production but isn't necessary for development.\n\n### Frontend\n\nThe frontend uses create-react-app. It runs a development server and serves the frontend assets at http://localhost:3000. This is the URL you should visit to view the site.\n\n```bash\ncd frontend\nyarn\nyarn start\n```\n\n### Backend\n\nThe backend uses Django and DRF. It runs a development server at http://localhost:8000 and a browsable API at http://localhost:8000/api/.\n\n```bash\npip install -r requirements.txt\ncd server\n./manage.py runserver\n```\n\n## Production\n\nThe app is intended to be ran in Docker for production.\n\nProduction assets are currently built outside of Docker. You will need to follow the dev setup steps first.\n\n```bash\n# Update .env with your settings\ncp .env.example .env\n\n# Build production assets and collect everything to dist/\n./tasks.sh build\n\n# Start everything and serve the site on port 80\ndocker-compose up --build\n```\n\n## Scraping Process\n\nThe scrape process is relatively simple.\n\n1. Provide the scraper a username\n2. The scraper fetches tweets from the user's timeline\n3. Fetched tweets are inspected for media, i.e. images and videos\n4. Media URLs are collected and added to a database for caching\n\nA REST API provides access to the database for easy searching.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkangaroux%2Fimgtweets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkangaroux%2Fimgtweets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkangaroux%2Fimgtweets/lists"}