{"id":15178865,"url":"https://github.com/luzifer/grafana-proxy","last_synced_at":"2026-01-14T19:20:47.261Z","repository":{"id":34351410,"uuid":"38273052","full_name":"Luzifer/grafana-proxy","owner":"Luzifer","description":"Simple proxy server around Grafana to display password protected dashboards using a token","archived":true,"fork":false,"pushed_at":"2018-09-07T00:30:14.000Z","size":3564,"stargazers_count":6,"open_issues_count":1,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-15T21:48:35.735Z","etag":null,"topics":["docker","golang","grafana","proxy"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Luzifer.png","metadata":{"files":{"readme":"README.md","changelog":"History.md","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":"2015-06-29T21:47:57.000Z","updated_at":"2023-02-14T02:43:20.000Z","dependencies_parsed_at":"2022-08-30T00:01:01.294Z","dependency_job_id":null,"html_url":"https://github.com/Luzifer/grafana-proxy","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luzifer%2Fgrafana-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luzifer%2Fgrafana-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luzifer%2Fgrafana-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luzifer%2Fgrafana-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Luzifer","download_url":"https://codeload.github.com/Luzifer/grafana-proxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234897368,"owners_count":18903646,"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":["docker","golang","grafana","proxy"],"created_at":"2024-09-27T15:40:40.491Z","updated_at":"2025-10-01T20:31:46.840Z","avatar_url":"https://github.com/Luzifer.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Luzifer / grafana-proxy\n\n![License](https://badges.fyi/github/license/Luzifer/grafana-proxy)\n\nThis project emerged from the wish to display my grafana dashboard on a screen attached to a Raspberry-PI without having to login myself. Also the chromium browser running on that PI is running in incognito mode. (Even if it wasn't the login with stored credentials would required manual interaction.) So I was in need for something to display the dasboards without the snapshot function of grafana (I change that dashboard quite often and also I don't trust that public snapshot service) without having to do anything to interact with that PI.\n\n## How does it work\n\n1. You start the `grafana-proxy` with an username, password and the base-url of your grafana instance\n2. You call the browser to open `http://localhost:8081/dashboard_url`\n3. You can watch your dashboard without manually logging in\n\n```bash\n# ./grafana-proxy\nUsage of ./grafana-proxy:\n      --baseurl=\"\": BaseURL (excluding last /) of Grafana\n      --listen=\"127.0.0.1:8081\": IP/Port to listen on\n  -p, --pass=\"\": Password for Grafana login\n      --token=\"\": (optional) require a ?token=xyz parameter to show the dashboard\n  -u, --user=\"luzifer\": Username for Grafana login\n\n# ./grafana-proxy -u [...] -p [...] --baseurl=https://grafana\n2015/06/29 23:45:19 GET /? 200 2421\n2015/06/29 23:45:19 GET /css/grafana.dark.min.5aa0b879.css? 200 185096\n2015/06/29 23:45:19 GET /app/app.6e379bdb.js? 200 874636\n```\n\n### Starting from docker\n\nStarting with version `v0.3.0` the proxy also supports being started using docker. To use it you can just use this command line:\n\n```bash\n# docker run --rm -ti -e USER=[...] -e PASS=[...] -e BASEURL=[...] -p 3000:3000 quay.io/luzifer/grafana-proxy\n2016/05/18 11:45:35 GET /dashboard/db/host-dashboard 200 7971\n2016/05/18 11:45:35 GET /api/dashboards/db/host-dashboard? 200 18202\n```\n\n### Using the `token` parameter\n\nIf you want to run the `grafana-proxy` on a public accessible host but do not want everyone to be able to see your dashboard you can add some pseudo security using a shared token:\n\n```bash\n# docker run --rm -ti -e USER=myuser -e PASS=mypass -e BASEURL=http://mygrafana.com -e TOKEN=mysharedsecret -p 3000:3000 quay.io/luzifer/grafana-proxy\n2016/05/18 11:45:35 GET /dashboard/db/host-dashboard 200 7971\n2016/05/18 11:45:35 GET /api/dashboards/db/host-dashboard? 200 18202\n```\n\nYour users now need to use `http://\u003cip\u003e:3000/mydashboard?token=mysharedsecret` to access the dashboard.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluzifer%2Fgrafana-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluzifer%2Fgrafana-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluzifer%2Fgrafana-proxy/lists"}