{"id":15680879,"url":"https://github.com/cirocosta/grafana-sync","last_synced_at":"2025-08-19T11:14:28.558Z","repository":{"id":73883826,"uuid":"156944025","full_name":"cirocosta/grafana-sync","owner":"cirocosta","description":"Keeps your Grafana dashboards in sync","archived":false,"fork":false,"pushed_at":"2020-09-11T13:49:04.000Z","size":223,"stargazers_count":11,"open_issues_count":3,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-07T11:18:21.889Z","etag":null,"topics":["grafana"],"latest_commit_sha":null,"homepage":"https://ops.tips","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cirocosta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-11-10T03:31:41.000Z","updated_at":"2021-11-24T11:18:49.000Z","dependencies_parsed_at":"2023-06-18T19:46:05.803Z","dependency_job_id":null,"html_url":"https://github.com/cirocosta/grafana-sync","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cirocosta/grafana-sync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirocosta%2Fgrafana-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirocosta%2Fgrafana-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirocosta%2Fgrafana-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirocosta%2Fgrafana-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cirocosta","download_url":"https://codeload.github.com/cirocosta/grafana-sync/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirocosta%2Fgrafana-sync/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270428876,"owners_count":24582112,"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-08-14T02:00:10.309Z","response_time":75,"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":["grafana"],"created_at":"2024-10-03T16:45:33.533Z","updated_at":"2025-08-19T11:14:28.533Z","avatar_url":"https://github.com/cirocosta.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"### grafana-sync - Keeps your Grafana dashboards in sync\n\nAt each time that it's run, `grafana-sync` gathers information about dashboards from a particular source of truth (a grafana deployment) and then updates the state of the filesystem to reflect such source.\n\nps.: assumes use of the `folders` feature from grafana 5+\n\n### Usage\n\n```\nUsage:\n  grafana-sync [OPTIONS]\n\nApplication Options:\n      --address=      grafana address (default: http://localhost:3000)\n      --directory=    directory where dashboards live (default: ./)\n  -v, --verbose       displays requests on stderr\n\nAuthentication:\n  -u, --username=     basic auth username\n  -p, --password=     basic auth password\n      --access-token= access token to authenticate against grafana\n\nHelp Options:\n  -h, --help          Show this help message\n```\n\n1. Create an API key that is capable of visualizing all dashboards\n\n![API Key creation](./assets/create-api-key.png)\n\n2. Run `grafana-sync`\n\n```sh\n./grafana-sync \\\n    --verbose \\\n    --address http://my-instance.com \\\n    --access-token=\u003capi_key\u003e \\\n    --directory=./dashboards\n```\n\nAlternatively, you can also use basic auth (if configured):\n\n```sh\n./grafana-sync \\\n    --verbose \\\n    --address http://my-instance.com \\\n    --username=admin \\\n    --password=password \\\n    --directory=./dashboards\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcirocosta%2Fgrafana-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcirocosta%2Fgrafana-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcirocosta%2Fgrafana-sync/lists"}