{"id":24794861,"url":"https://github.com/wgr-sa/nuxt-octokit","last_synced_at":"2026-04-15T15:34:54.999Z","repository":{"id":274645621,"uuid":"923096667","full_name":"WGR-SA/nuxt-octokit","owner":"WGR-SA","description":"Nuxt wrap for octokit","archived":false,"fork":false,"pushed_at":"2025-01-30T09:14:41.000Z","size":291,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T18:49:35.244Z","etag":null,"topics":["github","nuxt","octokit","typescript"],"latest_commit_sha":null,"homepage":"","language":"Vue","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/WGR-SA.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-27T16:32:13.000Z","updated_at":"2025-01-30T09:14:44.000Z","dependencies_parsed_at":"2025-01-28T15:44:07.796Z","dependency_job_id":null,"html_url":"https://github.com/WGR-SA/nuxt-octokit","commit_stats":null,"previous_names":["wgr-sa/nuxt-octokit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/WGR-SA/nuxt-octokit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WGR-SA%2Fnuxt-octokit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WGR-SA%2Fnuxt-octokit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WGR-SA%2Fnuxt-octokit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WGR-SA%2Fnuxt-octokit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WGR-SA","download_url":"https://codeload.github.com/WGR-SA/nuxt-octokit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WGR-SA%2Fnuxt-octokit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267610364,"owners_count":24115434,"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-07-28T02:00:09.689Z","response_time":68,"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":["github","nuxt","octokit","typescript"],"created_at":"2025-01-29T23:18:34.456Z","updated_at":"2026-04-15T15:34:54.966Z","avatar_url":"https://github.com/WGR-SA.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nuxt Octokit Module\nA Nuxt module that provides GitHub API integration via Octokit, with support for dynamic token management.\n\n### Features\n\n- 🔑 Dynamic GitHub token management\n- 🔄 Reactive Octokit instance\n\n## Installation\n\n```BASH\nnpm i @wgr-sa/nuxt-octokit\n```\n\n### Add Module to nuxt.config.ts\n```JS\nexport default defineNuxtConfig({\n  modules: [\n    '@wgr-sa/nuxt-octokit',\n  ],\n})\t\n```\n\n## Usage\nSetting the GitHub Token\nYou can set the GitHub token after initialization, which is useful for auth flows:\n\n```JS\nconst { $octokit } = useNuxtApp()\n\n// Set token\n$octokit.setToken('your-github-token')\n\n// Check if initialized\nif ($octokit.isInitialized) {\n  // Use Octokit\n  const response = await $octokit.instance.repos.getContent({\n    owner: 'owner',\n    repo: 'repo',\n    path: 'path'\n  })\n}\n\n// Clear token (e.g., on logout)\n$octokit.clearToken()\n```\n\n## License\nMIT License","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwgr-sa%2Fnuxt-octokit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwgr-sa%2Fnuxt-octokit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwgr-sa%2Fnuxt-octokit/lists"}