{"id":23703377,"url":"https://github.com/osint-services/focus","last_synced_at":"2026-02-02T09:01:26.442Z","repository":{"id":267806991,"uuid":"902409794","full_name":"osint-services/focus","owner":"osint-services","description":"Gives detailed metadata on a particular social profile using a URI","archived":false,"fork":false,"pushed_at":"2025-01-02T17:20:28.000Z","size":26,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T11:49:13.534Z","etag":null,"topics":["fastapi","microservice","osint","profile","python","python3","search","searchprofile"],"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/osint-services.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":"2024-12-12T14:10:00.000Z","updated_at":"2025-01-02T17:20:31.000Z","dependencies_parsed_at":"2024-12-12T15:36:07.728Z","dependency_job_id":"191a8cbf-7709-41c5-915c-9700e80d2dad","html_url":"https://github.com/osint-services/focus","commit_stats":null,"previous_names":["osint-services/focus"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osint-services%2Ffocus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osint-services%2Ffocus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osint-services%2Ffocus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osint-services%2Ffocus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osint-services","download_url":"https://codeload.github.com/osint-services/focus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248432042,"owners_count":21102305,"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":["fastapi","microservice","osint","profile","python","python3","search","searchprofile"],"created_at":"2024-12-30T13:02:12.910Z","updated_at":"2026-02-02T09:01:21.393Z","avatar_url":"https://github.com/osint-services.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# focus\n\nfocus is an OSINT microservice that seaches the profile of a given URL and returns metadata found at that site using https://github.com/soxoj/socid-extractor to gather the data.\n\n## Requirements\n- Python 3.9 or higher\n\n### Tech Stack\n- The REST API framework being used is [FastAPI](https://fastapi.tiangolo.com/)\n- The tool being used to query social media URLs [socid-extractor](https://github.com/soxoj/socid-extractor)\n\n\n### Setup\n1. Create Python virtual environment. `python -m venv venv`\n2. Activate virtual environment. `source venv/bin/activate`\n3. Install dependencies. `pip install -r requirements.txt`\n4. Start server. `fastapi dev main.py` \n\n\n### Example\n```python\nimport httpx\nimport urllib\nimport time\n\n# processing, try again later or get the current status\n\nstatus_code = 102\nwhile status_code == 102:\n    response = httpx.get(f'http://localhost:8000/scan/j-doe') # assuming the server is running locally\n    status_code = response.status_code\n\n    if status_code == 102:\n        time.sleep(5) # give server time to process\n        continue\n\n    if response.status_code == 200:\n        profiles_found = response.json()\n        for profile in profiles_found:\n            unsafe_url = profile[\"uri_check\"]\n            url = urllib.parse.quote(unsafe_url, safe='')\n            response = httpx.get(f'http://localhost:8001/focus?url={url}') # assuming the server is running locally\n            details = response.json() # contains profile details\n            print(details)\n        \n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosint-services%2Ffocus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosint-services%2Ffocus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosint-services%2Ffocus/lists"}