{"id":20463195,"url":"https://github.com/devwithkrishna/publish-confluence-pages-programatically","last_synced_at":"2025-08-24T14:16:20.806Z","repository":{"id":238882976,"uuid":"797287652","full_name":"devwithkrishna/publish-confluence-pages-programatically","owner":"devwithkrishna","description":"publish confluce pages programattically","archived":false,"fork":false,"pushed_at":"2025-05-19T17:11:05.000Z","size":180,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-19T18:27:08.667Z","etag":null,"topics":["atlassian-sdk","confluence","github","github-workflow","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/devwithkrishna.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":"2024-05-07T14:50:49.000Z","updated_at":"2025-05-19T17:10:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"216ecb05-0735-46fc-9e77-6b5572a5cc1a","html_url":"https://github.com/devwithkrishna/publish-confluence-pages-programatically","commit_stats":null,"previous_names":["devwithkrishna/publish-confluence-pages-programatically"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/devwithkrishna/publish-confluence-pages-programatically","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devwithkrishna%2Fpublish-confluence-pages-programatically","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devwithkrishna%2Fpublish-confluence-pages-programatically/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devwithkrishna%2Fpublish-confluence-pages-programatically/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devwithkrishna%2Fpublish-confluence-pages-programatically/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devwithkrishna","download_url":"https://codeload.github.com/devwithkrishna/publish-confluence-pages-programatically/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devwithkrishna%2Fpublish-confluence-pages-programatically/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271884817,"owners_count":24838544,"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-24T02:00:11.135Z","response_time":111,"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":["atlassian-sdk","confluence","github","github-workflow","python"],"created_at":"2024-11-15T13:09:49.697Z","updated_at":"2025-08-24T14:16:20.733Z","avatar_url":"https://github.com/devwithkrishna.png","language":"Python","readme":"# publish-confluence-pages-programatically\npublish confluce pages programattically\n\n# using poetry as python virtual environment manager\n\n* [Python - Poetry docs](https://python-poetry.org/docs/managing-environments/)\n* [Poetry set up - Pycharm](https://www.jetbrains.com/help/pycharm/poetry.html)\n\n# Python sdk from atlassian\n* [Atlassian python sdk](https://atlassian-python-api.readthedocs.io/confluence.htmlhttps://atlassian-python-api.readthedocs.io/confluence.html)\n\n**Python-dotenv package takes care of env variable set up on local system**\n\n## .env file\n```\nCONFLUENCE_URL=\"xxxx\"\nCONFLUENCE_USERNAME=\"xxxx\"\nCONFLUENCE_PASSWORD=\"xxxx\"\n```\n\n:heavy_check_mark:  Replace \"xxxx\" with proper values. this is used for authentication\n\n# Program Inputs\n\nThe program requires 4 Inputs\n\n* action --\u003e action to be performed. One among 'create','update','append','delete'\n* confluence_space --\u003e confluence space\n* confluence_page_title --\u003e new confluence page title\n* markdown_file_path --\u003e markdown file path and name based. of md files are inside a folder use complete path\u003cbr\u003e \u003c/br\u003e\n**Eg**: foldername/markdown file name\n\n# Run code in local\n\n1. clone the repository to your local\n2. Change directory to the cloned repository\n3. set up the .env file \n4. Run `python3 confluence.py --confluence_space \u003cprovide your confluence space name\u003e --confluence_page_title \"\u003cConfluence title\u003e\" --action \u003caction\u003e --markdown_file_path \u003cmarkfown file\u003e`\n5. Run python3 confluence.py --confluence_space devwithkrishna --confluence_page_title \"This is the title - QT\" --action update --markdown_file_path README.md\n\n\n`usage: confluence.py [-h] --action {create,update,append,delete}\n                     --confluence_space CONFLUENCE_SPACE\n                     --confluence_page_title CONFLUENCE_PAGE_TITLE\n                     --markdown_file_path MARKDOWN_FILE_PATH`\n\n\n\u003e[!NOTE]\n\u003e This Program uses username \u0026 api key for authentication with atlassian confluence.\n\u003e On local testing python-dotenv with .env file is used\n\u003e On GitHub Workflow, passed as aa environment variable in from GitHub Secrets.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevwithkrishna%2Fpublish-confluence-pages-programatically","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevwithkrishna%2Fpublish-confluence-pages-programatically","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevwithkrishna%2Fpublish-confluence-pages-programatically/lists"}