{"id":28760825,"url":"https://github.com/saranonearth/ayioo","last_synced_at":"2025-08-20T08:05:13.178Z","repository":{"id":54314435,"uuid":"341000066","full_name":"saranonearth/Ayioo","owner":"saranonearth","description":"Log all server logs to your Discord channel🤖","archived":false,"fork":false,"pushed_at":"2021-02-26T21:48:42.000Z","size":218,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-19T03:17:35.140Z","etag":null,"topics":["discord-logger","logger","middleware","serverless-logger"],"latest_commit_sha":null,"homepage":"","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/saranonearth.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}},"created_at":"2021-02-21T20:45:09.000Z","updated_at":"2022-02-28T01:30:35.000Z","dependencies_parsed_at":"2022-08-13T11:50:20.479Z","dependency_job_id":null,"html_url":"https://github.com/saranonearth/Ayioo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/saranonearth/Ayioo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saranonearth%2FAyioo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saranonearth%2FAyioo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saranonearth%2FAyioo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saranonearth%2FAyioo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saranonearth","download_url":"https://codeload.github.com/saranonearth/Ayioo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saranonearth%2FAyioo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271285506,"owners_count":24732923,"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-08-20T02:00:09.606Z","response_time":69,"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":["discord-logger","logger","middleware","serverless-logger"],"created_at":"2025-06-17T06:10:10.000Z","updated_at":"2025-08-20T08:05:13.150Z","avatar_url":"https://github.com/saranonearth.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Ayioo\n\n![Feb-27-2021 02-06-06](https://user-images.githubusercontent.com/44068102/109352155-65072680-78a0-11eb-8128-3590e416d506.gif)\n\n\nAyioo is a logger which logs your server logs on discord channel. \n\nAyioo also provides a http middleware which logs requests and responses out of the box to your discord channel.🔥 \n\n```\n\u003e npm install ayiooo\n```\n\n#### How to use the logger?\n\n```js\n\nimport {Ayioo} from 'ayiooo'\n\n\nAyioo.configure({\n    token:\"DISCORD_TOKEN\",\n    channelID:\"DISCORD_CHANNEL_ID\"\n\n})\n\nAyioo.log(\"Hey🔥\");\n\nAyioo.warn(\"Warn⚠️\");\n\nAyioo.error(\"error🚨\");\n\n\n```\n#### How to use AyiooCatch middleware?\n\n\n```js\nimport express from 'express'\nimport {AyiooCatch} from 'ayiooo'\n\nconst app = express()\nconst port = 3001\n\nAyioo.configure({\n    token:\"DISCORD_TOKEN\",\n    channelID:\"DISCORD_CHANNEL_ID\"\n\n})\n\napp.use(AyiooCatch(\n    {token:`DISCORD_TOKEN`,\n    channelId:'DISCORD_CHANNEL_ID',instance:true})) //instance property is set to false by default\n\n\napp.get('/', (req, res) =\u003e {\n    res.send('Hello World!')\n    Ayioo.log('FROM GET /')\n\n})\n\n\n\napp.listen(port, () =\u003e {\n    Ayioo.log(`Example app listening at http://localhost:${port}`)\n})\n\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaranonearth%2Fayioo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaranonearth%2Fayioo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaranonearth%2Fayioo/lists"}