{"id":26678398,"url":"https://github.com/telexintegrations/github-star-notifier","last_synced_at":"2025-03-26T05:15:41.591Z","repository":{"id":278730356,"uuid":"936561982","full_name":"telexintegrations/github-star-notifier","owner":"telexintegrations","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-21T11:18:26.000Z","size":304,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-21T11:44:18.112Z","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/telexintegrations.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-02-21T09:49:18.000Z","updated_at":"2025-02-21T11:22:59.000Z","dependencies_parsed_at":"2025-02-21T11:54:22.445Z","dependency_job_id":null,"html_url":"https://github.com/telexintegrations/github-star-notifier","commit_stats":null,"previous_names":["telexintegrations/github-star-notifier"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telexintegrations%2Fgithub-star-notifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telexintegrations%2Fgithub-star-notifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telexintegrations%2Fgithub-star-notifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telexintegrations%2Fgithub-star-notifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/telexintegrations","download_url":"https://codeload.github.com/telexintegrations/github-star-notifier/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245591529,"owners_count":20640692,"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":[],"created_at":"2025-03-26T05:15:40.714Z","updated_at":"2025-03-26T05:15:41.574Z","avatar_url":"https://github.com/telexintegrations.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Github Repository Star Notifier\n\nA FastAPI application that receives an event from Github when this repository is starred, and follow who starred the repo.\n\n## Project Structure\n\n## Installation\n\n1. Clone the repository:\n\n   ```sh\n   git clone https://github.com/gr4yx01/hng-stage-3-telex.git\n   cd hng-stage-3-telex\n   ```\n\n2. Create a virtual environment and activate it:\n\n   ```sh\n   python -m venv venv\n   source venv/bin/activate  # On Windows use `venv\\Scripts\\activate`\n   ```\n\n3. Install the dependencies:\n\n   ```sh\n   pip install -r requirements.txt\n   ```\n\n## Usage\n\n1. Run the FastAPI application:\n\n   ```sh\n   uvicorn main:app --reload\n   ```\n\n2. The application will be available at `http://127.0.0.1:8000`.\n\n## API Endpoints\n\n### Get Integration JSON\n\n- **URL:** `/application.json`\n- **Method:** `GET`\n- **Response:**\n  ```json\n  \"data\": {\n    \"date\": {\n      \"created_at\": \"2025-02-20\",\n      \"updated_at\": \"2025-02-20\"\n    },\n    \"descriptions\": {\n      \"app_name\": \"github-star-notifier\",\n      \"app_description\": \"This integration notifies my channel of a starred event on my repository\",\n      \"app_logo\": \"https://www.pinterest.com/pin/883690758133210277/\",\n      \"app_url\": \"https://p7hr5wrm-8000.uks1.devtunnels.ms\",\n      \"background_color\": \"#fff\"\n    },\n    \"is_active\": True,\n    \"integration_type\": \"modifier\",\n    \"integration_category\": \"Task Automation\",\n    \"key_features\": [\n      \"real time notification\"\n    ],\n    \"author\": \"Graeyy\",\n    \"settings\": [\n      {\n        \"label\": \"event_type\",\n        \"type\": \"dropdown\",\n        \"required\": True,\n        \"default\": \"unstarred\",\n        \"options\": [\n          \"starred\",\n          \"unstarred\"\n        ]\n      }\n    ],\n    \"target_url\": \"https://p7hr5wrm-8000.uks1.devtunnels.ms/webhook\",\n  }\n  ```\n\n### Testing webhook manually\n\n- **URL:** `/application.json`\n- **Method:** `POST`\n- **Response:**\n  ```json\n    {\n        'status': 'success',\n        'status_code': 202,\n        'message': 'request received',\n        'task_id': '8ec80144-74de-410a-815f-62b5e8492271'\n    }\n  ```\n\n# Integration Description\n    This is integration is a modifier, which basically listens for github star notification on my created channel, then using the webhook specified in the target url, triggers to follow the user who starred the repository.\n\n# Image\n![alt text](image-1.png)\n        \n    You could test it out by giving my repository a star, and it'd follow automatically.\n\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftelexintegrations%2Fgithub-star-notifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftelexintegrations%2Fgithub-star-notifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftelexintegrations%2Fgithub-star-notifier/lists"}