{"id":25023192,"url":"https://github.com/eser/phi-agent-sample","last_synced_at":"2025-07-27T22:36:42.029Z","repository":{"id":271022433,"uuid":"912179397","full_name":"eser/phi-agent-sample","owner":"eser","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-19T04:41:46.000Z","size":101,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-27T19:08:38.927Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eser.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":"2025-01-04T20:36:48.000Z","updated_at":"2025-01-20T10:57:33.000Z","dependencies_parsed_at":"2025-01-04T21:38:11.627Z","dependency_job_id":null,"html_url":"https://github.com/eser/phi-agent-sample","commit_stats":null,"previous_names":["eser/phi-agent-sample"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eser/phi-agent-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eser%2Fphi-agent-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eser%2Fphi-agent-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eser%2Fphi-agent-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eser%2Fphi-agent-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eser","download_url":"https://codeload.github.com/eser/phi-agent-sample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eser%2Fphi-agent-sample/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267436808,"owners_count":24086899,"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","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-02-05T14:37:27.624Z","updated_at":"2025-07-27T22:36:41.979Z","avatar_url":"https://github.com/eser.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Web Content Fetcher\n\nThis project was created during Emre Savci's Go Turkiye broadcast, which can be viewed at [YouTube](https://www.youtube.com/watch?v=qa_GRqWK9pY).\n\n## About\n\nA simple Python application that demonstrates fetching web content using the phi library and OpenAI's GPT-4 model. The application retrieves content from a specified URL and saves it to a local file.\n\n## Features\n\n- Fetches web content using HTTP GET requests\n- Writes content to local files\n- Uses OpenAI's GPT-4 for processing\n- Includes error handling for network requests\n\n## Requirements\n\n- Python 3.9+\n- phi library\n- OpenAI API key\n- Poetry for dependency management\n\n## Usage\n\nRun the main script:\n\n```bash\npython main.py\n```\n\nThis will fetch the content from the specified URL and save it to a file named `output.txt`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feser%2Fphi-agent-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feser%2Fphi-agent-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feser%2Fphi-agent-sample/lists"}