{"id":26481645,"url":"https://github.com/jheesbrough/royalhackaway25","last_synced_at":"2026-04-16T15:01:39.972Z","repository":{"id":283272032,"uuid":"929730975","full_name":"Jheesbrough/RoyalHackaway25","owner":"Jheesbrough","description":"A code dump of various scripts and parts of our hackathon project at Royal Holloway 2025 - Verdn's Environmental Hack 2nd Place ","archived":false,"fork":false,"pushed_at":"2025-03-19T10:53:22.000Z","size":117,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-19T11:40:39.634Z","etag":null,"topics":["hackathon"],"latest_commit_sha":null,"homepage":"https://devpost.com/software/hacksussex-yet-to-be-named-project","language":"TypeScript","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/Jheesbrough.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-09T08:57:22.000Z","updated_at":"2025-03-19T10:57:23.000Z","dependencies_parsed_at":"2025-03-19T11:52:35.797Z","dependency_job_id":null,"html_url":"https://github.com/Jheesbrough/RoyalHackaway25","commit_stats":null,"previous_names":["jheesbrough/royalhackaway25"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Jheesbrough/RoyalHackaway25","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jheesbrough%2FRoyalHackaway25","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jheesbrough%2FRoyalHackaway25/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jheesbrough%2FRoyalHackaway25/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jheesbrough%2FRoyalHackaway25/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jheesbrough","download_url":"https://codeload.github.com/Jheesbrough/RoyalHackaway25/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jheesbrough%2FRoyalHackaway25/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31891038,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T11:36:10.202Z","status":"ssl_error","status_checked_at":"2026-04-16T11:36:09.652Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["hackathon"],"created_at":"2025-03-20T03:30:06.365Z","updated_at":"2026-04-16T15:01:39.950Z","avatar_url":"https://github.com/Jheesbrough.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Royal Hackaway\n\n## Installation\n\nTo use the self-evolving API, run the server with:\n\n```bash\nnpm install\n```\n\n## Usage\n\nAfter installing the dependencies, start the server by running:\n\n```bash\nnode server.js\n```\n\n### API Endpoints\n\nThe following API endpoints are available:\n\n- **POST /evolve**\n  - **Description:** Opens an issue on the repo with an improvement that can be made.\n  - **Expected Input:** A JSON object with details about the improvement.\n    - Example:\n      ```json\n      {\n        \"improvement\": \"Add more tests for the API endpoints.\"\n      }\n      ```\n  - **Expected Output:** A confirmation message with the issue details.\n    - Example:\n      ```json\n      {\n        \"message\": \"Issue created successfully.\",\n        \"issue\": {\n          \"id\": 1,\n          \"title\": \"Add more tests for the API endpoints.\"\n        }\n      }\n      ```\n\n- **POST /work-on-issue**\n  - **Description:** Takes the most recent issue and opens a pull request to work on it.\n  - **Expected Input:** A JSON object with the pull request details.\n    - Example:\n      ```json\n      {\n        \"title\": \"Implement tests for API\",\n        \"body\": \"This pull request addresses the issue of lacking tests.\"\n      }\n      ```\n  - **Expected Output:** A confirmation message with the pull request details.\n    - Example:\n      ```json\n      {\n        \"message\": \"Pull request created successfully.\",\n        \"pull_request\": {\n          \"id\": 101,\n          \"title\": \"Implement tests for API\"\n        }\n      }\n      ``` \n\n\nRunning the python serial listener:\n\n```bash\npy -m env venv\n.\\venv\\Scripts\\activate\npip install -r requirements.txt\npython serial_listener.py\n```\n\n### Running the discord bot\n```bash\nnpm install\nnodemon server.js\n```\n\ne\n\nwebsite got 'optimised.design' domain name\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjheesbrough%2Froyalhackaway25","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjheesbrough%2Froyalhackaway25","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjheesbrough%2Froyalhackaway25/lists"}