{"id":13650296,"url":"https://github.com/Intevel/directus-logsnag","last_synced_at":"2025-04-22T18:31:17.613Z","repository":{"id":44428608,"uuid":"511512707","full_name":"Intevel/directus-logsnag","owner":"Intevel","description":"📢 Easily get notified when something in Directus happens.","archived":false,"fork":false,"pushed_at":"2022-07-10T11:17:13.000Z","size":177,"stargazers_count":23,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-10T20:53:52.006Z","etag":null,"topics":["directus","directus-extension","directus-hooks","extension","logsnag"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Intevel.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}},"created_at":"2022-07-07T12:09:19.000Z","updated_at":"2024-03-05T15:12:55.000Z","dependencies_parsed_at":"2022-09-10T12:53:05.289Z","dependency_job_id":null,"html_url":"https://github.com/Intevel/directus-logsnag","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intevel%2Fdirectus-logsnag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intevel%2Fdirectus-logsnag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intevel%2Fdirectus-logsnag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intevel%2Fdirectus-logsnag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Intevel","download_url":"https://codeload.github.com/Intevel/directus-logsnag/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223903082,"owners_count":17222487,"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":["directus","directus-extension","directus-hooks","extension","logsnag"],"created_at":"2024-08-02T02:00:35.632Z","updated_at":"2024-11-10T01:30:43.042Z","avatar_url":"https://github.com/Intevel.png","language":"TypeScript","funding_links":[],"categories":["Extensions"],"sub_categories":["Community"],"readme":"![directus-logsnag](https://github.com/Intevel/directus-logsnag/blob/master/banner.png?raw=true)\n\n# Directus LogSnag\n\n\n📢  Get notified when something in Directus happens.\n\n## What is LogSnag?\n\nLogSnag is a simple event tracking tool. It helps you keep track what is happening within your projects, creates custom feeds, and notifies you of important events.\nRegister your application [here](https://logsnag.com/)\n\n## Installation\n\n\u003e If you have any questions or problems, open an discussion on Github.\n\n1. Firstly create a LogSnag account\n2. Create your LogSnag project and your channels\n3. Get your LogSnag API Token, from the API page under settings. Generate or revoke your API tokens there.\n4. Clone this repository, copy the file from `dist` to your directus extensions folder `/extensions/hooks/directus-logsnag/`.\n5. Now you can get started with configuring ✨\n\n## Configuration\nYour configuration file should be in your directus extensions folder under `/extensions/hooks/directus-logsnag/logsnag.config.json`.\n\n```json\n{\n\t\"api_token\": \"-\",\n\t\"events\": [\n\t\t{ \"name\": \"users.create\", \"project\": \"test\", \"channel\": \"nuxttest\", \"event\": \"New User!\", \"description\": \"A new Directus user was created\", \"icon\": \"🤑\", \"notify\": true },\n\t\t{ \"name\": \"payments.create\", \"project\": \"test\", \"channel\": \"nuxttest\", \"event\": \"New Payment\", \"description\": \"We've got a new payment :)\", \"icon\": \"💸\", \"notify\": true }\n\t]\n}\n```\n\nThis is the configuration scheme, please insert your LogSnag API Token in `api_token`. \nNow you can configure your events, `name` is the parameter for the event name in Directus. So `users.create` would be the event in Directus which is called when a new User is created, after the event name, the LogSnag Configuration follows, this is how the message which is sended to LogSnag look like.\n\n\n## License\n\nPublished under MIT - Made with 💜  by Conner Luka Bachmann\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIntevel%2Fdirectus-logsnag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FIntevel%2Fdirectus-logsnag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIntevel%2Fdirectus-logsnag/lists"}