{"id":16701677,"url":"https://github.com/coryodaniel/sacred","last_synced_at":"2026-04-28T19:01:28.981Z","repository":{"id":66508482,"uuid":"153348516","full_name":"coryodaniel/sacred","owner":"coryodaniel","description":"A CLI to sync markdown to the Confluence REST API","archived":false,"fork":false,"pushed_at":"2018-10-23T22:19:30.000Z","size":21,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-29T23:30:30.602Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/coryodaniel.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":"2018-10-16T20:17:22.000Z","updated_at":"2021-07-23T05:16:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"a8e168b5-4098-4854-a301-82c71d632dc2","html_url":"https://github.com/coryodaniel/sacred","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coryodaniel/sacred","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coryodaniel%2Fsacred","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coryodaniel%2Fsacred/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coryodaniel%2Fsacred/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coryodaniel%2Fsacred/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coryodaniel","download_url":"https://codeload.github.com/coryodaniel/sacred/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coryodaniel%2Fsacred/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32394478,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-12T18:45:09.000Z","updated_at":"2026-04-28T19:01:28.963Z","avatar_url":"https://github.com/coryodaniel.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sacred\n\nKeep Github Wiki's, READMEs, or any other markdown files in sync with Confluence pages.\n\nSacred is configured with a manifest file that allows you to upload multiple confluence documents composed of many markdown files.\n\nCurrently a confluence document needs to exist (`contentId`) for Sacred to update it. Sacred _will not_ (currently) create new documents.\n\n## Installation\n\n```\ngo get -u github.com/coryodaniel/sacred\n```\n\n## Usage\n\nBy default sacred looks for `.sacred.yaml` in the current directory.\n\n```\nsacred upload\n\n# Specify an alternate config path\n\nsacred upload -c path/to/my/config.yaml\n```\n\n### Config Examples\n\n#### Single Confluence document from a single markdown file\n\n```yaml\nauth:\n  token: CONFLUENCE_API_TOKEN\n  domain: your-domain.atlassian.net\ndocs:\n- name: My first document # This will update the Confluence document name\n  spaceId: CONFLUENCE_SPACE_ID\n  contentId: CONFLUENCE_CONTENT_ID\n  files:\n  - ./README.md\n```\n\n#### Multiple Confluence Documents with multiple markdown files\n\n```yaml\nauth:\n  token: CONFLUENCE_API_TOKEN\n  domain: your-domain.atlassian.net\ndocs:\n\n- name: My first document\n  # notice: will set a notice at the top of the generated HTML\n  notice: \u003cstrong\u003eDO NOT EDIT! This file is autogenerated from https://my-repo\u003c/strong\u003e\n  spaceId: CONFLUENCE_SPACE_ID\n  contentId: CONFLUENCE_CONTENT_ID_1\n  files:\n  - ./README.md\n  - ./CONTRIBUTORS.md\n\n- name: Another document\n  spaceId: CONFLUENCE_SPACE_ID\n  contentId: CONFLUENCE_CONTENT_ID_2\n  files:\n  - ./README.md\n  - ./wiki/intro-to-widgets.md\n  - ./wiki/advanced-widgetry.md\n  # globs will be appened in alphabetical order and will not include files listed above\n  - ./wiki/*.md\n```\n\nAdditionally the following environment variables may be set:\n\n* `SACRED_TOKEN` - Override `auth.token`\n* `SACRED_DOMAIN` - Override `auth.domain`\n\n## Creating a Confluence API Token\n\nCreate an API token from your Atlassian account:\n\n1.  Log in to https://id.atlassian.com.\n2.  Click API tokens\n3.  Then Create API token\n\nThis token can either be set in your `.sacred.yaml` file or in the `SACRED_TOKEN` environment variable.\n\n## Confluence Content and Space Identifiers\n\nThe content and space ID can be found in the content URL:\n\n`https://YOUR_DOMAIN.atlassian.net/wiki/spaces/SPACE_ID/pages/CONTENT_ID/Markdown+Test`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoryodaniel%2Fsacred","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoryodaniel%2Fsacred","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoryodaniel%2Fsacred/lists"}