├── .editorconfig ├── .github ├── ISSUE_TEMPLATE │ ├── bug-report.yml │ ├── enhancement-request.yml │ ├── feature-request.yml │ └── question.yml ├── funding.yml ├── pull_request_template.md ├── release.yml └── workflows │ ├── autofix.yml │ ├── ci.yml │ ├── continuous-release.yml │ ├── label-pr.yml │ ├── nuxthub.yml │ ├── semantic-pull-request.yml │ └── stale.yml ├── .gitignore ├── .npmrc ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── eslint.config.js ├── package.json ├── playground ├── app │ ├── app.config.ts │ ├── app.vue │ ├── assets │ │ └── css │ │ │ └── main.css │ └── components │ │ ├── ColorModeButton.vue │ │ └── Globe.vue ├── nuxt.config.ts ├── package.json ├── public │ └── og.png ├── server │ └── tsconfig.json └── tsconfig.json ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── renovate.json ├── src ├── module.ts └── runtime │ ├── app │ ├── composables │ │ └── useVisitors.ts │ └── plugins │ │ └── location.server.ts │ └── server │ └── routes │ ├── locations.ts │ └── visitors.ts ├── test ├── basic.test.ts └── fixtures │ └── basic │ ├── app.vue │ ├── nuxt.config.ts │ └── package.json └── tsconfig.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug-report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/.github/ISSUE_TEMPLATE/bug-report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/enhancement-request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/.github/ISSUE_TEMPLATE/enhancement-request.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature-request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/.github/ISSUE_TEMPLATE/feature-request.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/question.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/.github/ISSUE_TEMPLATE/question.yml -------------------------------------------------------------------------------- /.github/funding.yml: -------------------------------------------------------------------------------- 1 | github: [HugoRCD] 2 | -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/.github/release.yml -------------------------------------------------------------------------------- /.github/workflows/autofix.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/.github/workflows/autofix.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/continuous-release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/.github/workflows/continuous-release.yml -------------------------------------------------------------------------------- /.github/workflows/label-pr.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/.github/workflows/label-pr.yml -------------------------------------------------------------------------------- /.github/workflows/nuxthub.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/.github/workflows/nuxthub.yml -------------------------------------------------------------------------------- /.github/workflows/semantic-pull-request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/.github/workflows/semantic-pull-request.yml -------------------------------------------------------------------------------- /.github/workflows/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/.github/workflows/stale.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | shamefully-hoist=true 2 | strict-peer-dependencies=false 3 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "eslint.experimental.useFlatConfig": true 3 | } 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/README.md -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/eslint.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/package.json -------------------------------------------------------------------------------- /playground/app/app.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/playground/app/app.config.ts -------------------------------------------------------------------------------- /playground/app/app.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/playground/app/app.vue -------------------------------------------------------------------------------- /playground/app/assets/css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/playground/app/assets/css/main.css -------------------------------------------------------------------------------- /playground/app/components/ColorModeButton.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/playground/app/components/ColorModeButton.vue -------------------------------------------------------------------------------- /playground/app/components/Globe.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/playground/app/components/Globe.vue -------------------------------------------------------------------------------- /playground/nuxt.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/playground/nuxt.config.ts -------------------------------------------------------------------------------- /playground/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/playground/package.json -------------------------------------------------------------------------------- /playground/public/og.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/playground/public/og.png -------------------------------------------------------------------------------- /playground/server/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../.nuxt/tsconfig.server.json" 3 | } 4 | -------------------------------------------------------------------------------- /playground/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./.nuxt/tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/pnpm-workspace.yaml -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/renovate.json -------------------------------------------------------------------------------- /src/module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/src/module.ts -------------------------------------------------------------------------------- /src/runtime/app/composables/useVisitors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/src/runtime/app/composables/useVisitors.ts -------------------------------------------------------------------------------- /src/runtime/app/plugins/location.server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/src/runtime/app/plugins/location.server.ts -------------------------------------------------------------------------------- /src/runtime/server/routes/locations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/src/runtime/server/routes/locations.ts -------------------------------------------------------------------------------- /src/runtime/server/routes/visitors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/src/runtime/server/routes/visitors.ts -------------------------------------------------------------------------------- /test/basic.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/test/basic.test.ts -------------------------------------------------------------------------------- /test/fixtures/basic/app.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/test/fixtures/basic/app.vue -------------------------------------------------------------------------------- /test/fixtures/basic/nuxt.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/test/fixtures/basic/nuxt.config.ts -------------------------------------------------------------------------------- /test/fixtures/basic/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/test/fixtures/basic/package.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HugoRCD/nuxt-visitors/HEAD/tsconfig.json --------------------------------------------------------------------------------