nuxt-modules / nuxt-modules/plausible

Use private runtime config

Open
#48 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
119
Forks
7
PR merge metrics
No merged PRs in 30d

Description

I can send the requests through a proxy endpoint, which is great! Wouldn't it make sense then (for self hosted setups) to be able to configure everything in private runtime config instead of public? Right now I had to set NUXT_PUBLIC_PLAUSIBLE_API_HOST.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing where NUXT_PUBLIC_PLAUSIBLE_API_HOST is read and mapped into the Nuxt runtime configuration. Confirm which private runtime key should replace the public setting for self-hosted proxy endpoints, then verify that requests use the private configuration and existing setups remain compatible.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt, typescript
Domain
analytics
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.