{"id":23280558,"url":"https://github.com/saphalpdyl/gcms","last_synced_at":"2026-05-01T02:34:36.044Z","repository":{"id":265192101,"uuid":"895382440","full_name":"saphalpdyl/gcms","owner":"saphalpdyl","description":"GCMS, GitHub-based CLI Content Management System written in Go","archived":false,"fork":false,"pushed_at":"2024-12-30T17:05:21.000Z","size":135,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-01T02:34:33.759Z","etag":null,"topics":["cli","cms","github","golang"],"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/saphalpdyl.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-11-28T05:25:34.000Z","updated_at":"2024-12-30T17:05:25.000Z","dependencies_parsed_at":"2024-12-30T18:19:02.362Z","dependency_job_id":"b3b4eb29-3dbe-4ee0-917f-da2344b5b619","html_url":"https://github.com/saphalpdyl/gcms","commit_stats":{"total_commits":104,"total_committers":1,"mean_commits":104.0,"dds":0.0,"last_synced_commit":"3b12238fb64b9353e5551a7225ec9b349241d75a"},"previous_names":["saphalpdyl/gcms"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/saphalpdyl/gcms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saphalpdyl%2Fgcms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saphalpdyl%2Fgcms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saphalpdyl%2Fgcms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saphalpdyl%2Fgcms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saphalpdyl","download_url":"https://codeload.github.com/saphalpdyl/gcms/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saphalpdyl%2Fgcms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32483406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["cli","cms","github","golang"],"created_at":"2024-12-19T23:37:04.639Z","updated_at":"2026-05-01T02:34:35.801Z","avatar_url":"https://github.com/saphalpdyl.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GCMS (GitHub Content Management System) 🗃️\nGCMS is a command-line interface (CLI) tool designed to manage content on GitHub repositories efficiently. It provides a set of commands to initialize, configure, and manage content through github, making it easier to handle content directly from the terminal.\n\n[![Tech Stack](https://skillicons.dev/icons?i=go)]()\n\n## Features\n- **Initialize Repositories**: \n  - `gcms init --empty`: Initializes an empty repository and sets it as the GCMS repository.\n  - `gcms init --from \u003cgithub_link\u003e`: Clones an existing repository and configures it as the GCMS repository.\n- **Repository Information**:\n  - `gcms info repo`: Displays information about the local GCMS repository.\n  - `gcms info remote`: Shows details about the remote GCMS repository.\n- **Detach Repositories**:\n  - `gcms detach`: Soft detaches the local repository from the remote.\n  - `gcms detach --hard`: Hard detaches and deletes the remote repository, given sufficient permissions.\n- **File Management**:\n  - `gcms push \u003cfilename\u003e`: Pushes a file to the repository.\n  - `gcms push (-g / --group) \u003cgroup_name\u003e`: Pushes files grouped under a specific name.\n  - `gcms push (-m / --metadata) \u003cmetadata_key\u003e:\u003cmetadata_value\u003e`: Adds metadata to pushed files.\n  - `gcms list`: Lists all files in the local repository.\n  - `gcms remove \u003cfilename\u003e`: Removes files from both the local and remote repositories.\n  - `gcms update`: Pulls from remote and updates\n \n- **Health**\n  -  `gcms doctor`: Checks health of the installation\n\n## Commands\n| Command | Description |\n|---------|-------------|\n| `gcms` | Show menu |\n| `gcms config set \u003ckey\u003e \u003cvalue\u003e` | Sets the configuration value (For example: github.pat_token required for github auth) |\n| `gcms config get \u003ckey\u003e` | Gets the configuration value |\n| `gcms init --from \u003cgithub_link\u003e` | Clones the specified repository and sets it as the GCMS repository |\n| `gcms init --empty` | Initializes an empty repository and sets it as the GCMS repository |\n| `gcms info repo` | Gets information about the local GCMS repository |\n| `gcms info remote` | Gets information about the remote GCMS repository |\n| `gcms detach` | Soft detaches the remote repository, removing only the remotes |\n| `gcms detach --hard` | Hard detaches and deletes the remote repository, given sufficient permissions |\n| `gcms delete-local` | [WARN] Deletes the local repository |\n| `gcms push \u003cfilename\u003e` | Pushes the specified file to the repository |\n| `gcms push (-g / --group) \u003cgroup_name\u003e` | Pushes files grouped under a specific name |\n| `gcms push (-m / --metadata) \u003cmetadata_key\u003e:\u003cmetadata_value\u003e` | Adds metadata to pushed files |\n| `gcms list` | Lists all files in the local repository |\n| `gcms remove \u003cfilename\u003e` | Removes the specified file from both the local and remote repositories |\n| `gcms update` | Pulls from remote and updates |\n| `gcms doctor` | Checks health of the installation\n\n## Installation\nThere are two primary methods to install GCMS:\n\n### Method 1: Building from Source\nClone the repository and build the CLI:\n```bash\ngit clone https://github.com/saphalpdyl/gcms.git\ncd gcms\ngo build -o gcms\n```\n\n### Method 2: Go Install\nUse Go's installation method to directly install the CLI:\n```bash\ngo install github.com/saphalpdyl/gcms\n```\n\nAfter installation, you can run GCMS directly from your command line.\n\n## Usage\nAfter installing, you can run commands using:\n```bash\ngcms \u003ccommand\u003e [flags] [arguments]\n```\n\n### Example Usage\nInitialize an empty repository:\n```bash\ngcms init --empty\n```\n\nPush a file with grouping and metadata:\n```bash\ngcms push -g blog -m tags=golang;cli=mypost.html\n```\n\n## Contributing\nContributions are welcome! Please fork the repository and submit a pull request with your changes. Ensure that your code follows the project's coding standards and includes relevant tests.\n\n## License\nThis project is licensed under the MIT License. See the `LICENSE` file for more details.\n\n## Support\nFor any issues or questions, please open an issue on the GitHub repository or contact the maintainers directly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaphalpdyl%2Fgcms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaphalpdyl%2Fgcms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaphalpdyl%2Fgcms/lists"}