{"id":15063122,"url":"https://github.com/intevel/nuxt-logsnag","last_synced_at":"2025-10-04T22:31:42.228Z","repository":{"id":41833276,"uuid":"484757138","full_name":"Intevel/nuxt-logsnag","owner":"Intevel","description":"Easily connect your Nuxt 3 application with LogSnag 📰","archived":true,"fork":false,"pushed_at":"2022-04-27T11:44:13.000Z","size":162,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-20T03:37:53.469Z","etag":null,"topics":[],"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":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-23T13:36:40.000Z","updated_at":"2023-01-28T01:17:27.000Z","dependencies_parsed_at":"2022-08-11T18:50:54.490Z","dependency_job_id":null,"html_url":"https://github.com/Intevel/nuxt-logsnag","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Intevel/nuxt-logsnag","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intevel%2Fnuxt-logsnag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intevel%2Fnuxt-logsnag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intevel%2Fnuxt-logsnag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intevel%2Fnuxt-logsnag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Intevel","download_url":"https://codeload.github.com/Intevel/nuxt-logsnag/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intevel%2Fnuxt-logsnag/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278386099,"owners_count":25978109,"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-10-04T02:00:05.491Z","response_time":63,"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":"2024-09-24T23:51:42.726Z","updated_at":"2025-10-04T22:31:41.935Z","avatar_url":"https://github.com/Intevel.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nuxt LogSnag 📰\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![Github Actions CI][github-actions-ci-src]][github-actions-ci-href]\n[![License][license-src]][license-href]\n\n\u003e [LogSnag](https://logsnag.com) integration for [Nuxt 3](https://v3.nuxtjs.org)\n\n- [✨ \u0026nbsp;Release Notes](https://github.com/Intevel/nuxt-logsnag/releases)\n\n## Features\n\n- Nuxt 3 ready\n- Easy integration\n- Handy composables\n- TypeScript support\n\n## Setup\n\nInstall as development dependency with NPM or Yarn:\n\n```sh\nyarn add --dev nuxt-logsnag\n# or\nnpm i nuxt-logsnag --save-dev\n```\n\nAdd `nuxt-logsnag` to your Nuxt config:\n\n```ts\n// nuxt.config.ts\nimport { defineNuxtConfig } from 'nuxt'\n\nexport default defineNuxtConfig({\n  modules: ['nuxt-logsnag']\n})\n```\n\nLastly, add the `LOGSNAG_API_TOKEN` in your `.env`\n\n```\nLOGSNAG_API_TOKEN=\u003cyour_api_token\u003e\n````\n\nAlternately, you can set it in the `nuxt.config` (**less recommended to avoid sharing api token in your code**):\n\n```ts\n// nuxt.config.ts\nimport { defineNuxtConfig } from 'nuxt'\n\nexport default defineNuxtConfig({\n  modules: ['nuxt-logsnag'],\n  logsnag: {\n    token: '\u003cYOUR_LOGSNAG_API_TOKEN\u003e'\n  }\n})\n```\n\n## Usage\n\n```vue\n\u003cscript setup\u003e\nconst { publish } = useLogSnag()\n\nonMounted(async () =\u003e {\n  await publish({\n    project: 'Test',\n    channel: 'nuxt-test',\n    event: 'Tested Module!',\n    description: 'Hey, I just tested the Nuxt3 LogSnag module!',\n    icon: '🎉',\n    notify: true,\n  })\n})\n\u003c/script\u003e\n```\n\n[![nuxt-logsnag](https://github.com/Intevel/nuxt-logsnag/blob/master/event.png?raw=true)](/)\n\n## Development\n\n1. Clone this repository\n2. Install dependencies using `yarn install` or `npm install`\n3. Start development server using `yarn dev` or `npm run dev`\n\n## License\n\n[MIT License](./LICENSE) - 2022 Conner Luka Bachmann\n\n\u003c!-- Badges --\u003e\n\n[npm-version-src]: https://img.shields.io/npm/v/nuxt-logsnag/latest.svg\n[npm-version-href]: https://npmjs.com/package/nuxt-logsnag\n[npm-downloads-src]: https://img.shields.io/npm/dt/nuxt-logsnag.svg\n[npm-downloads-href]: https://npmjs.com/package/nuxt-logsnag\n[github-actions-ci-src]: https://github.com/intevel/nuxt-logsnag/actions/workflows/ci.yml/badge.svg\n[github-actions-ci-href]: https://github.com/intevel/nuxt-logsnag/actions?query=workflow%3Aci\n[license-src]: https://img.shields.io/npm/l/nuxt-logsnag.svg\n[license-href]: https://npmjs.com/package/nuxt-logsnag\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintevel%2Fnuxt-logsnag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintevel%2Fnuxt-logsnag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintevel%2Fnuxt-logsnag/lists"}