{"id":20464781,"url":"https://github.com/ghostmanager/ghostwriter_cli","last_synced_at":"2025-07-26T04:35:02.321Z","repository":{"id":37525825,"uuid":"490604503","full_name":"GhostManager/Ghostwriter_CLI","owner":"GhostManager","description":"Golang CLI binary used for installing and managing Ghostwriter","archived":false,"fork":false,"pushed_at":"2025-07-21T21:36:49.000Z","size":337,"stargazers_count":19,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-21T23:23:18.927Z","etag":null,"topics":["cli","command-line","command-line-tool","docker","docker-compose","go","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GhostManager.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-05-10T08:17:44.000Z","updated_at":"2025-07-21T21:34:10.000Z","dependencies_parsed_at":"2025-01-31T19:38:12.744Z","dependency_job_id":null,"html_url":"https://github.com/GhostManager/Ghostwriter_CLI","commit_stats":{"total_commits":150,"total_committers":3,"mean_commits":50.0,"dds":"0.013333333333333308","last_synced_commit":"ca67d424d7b1cd9132945166ceb32aec1ae8ca2f"},"previous_names":[],"tags_count":34,"template":false,"template_full_name":null,"purl":"pkg:github/GhostManager/Ghostwriter_CLI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GhostManager%2FGhostwriter_CLI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GhostManager%2FGhostwriter_CLI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GhostManager%2FGhostwriter_CLI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GhostManager%2FGhostwriter_CLI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GhostManager","download_url":"https://codeload.github.com/GhostManager/Ghostwriter_CLI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GhostManager%2FGhostwriter_CLI/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267117510,"owners_count":24038672,"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-07-26T02:00:08.937Z","response_time":62,"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","command-line","command-line-tool","docker","docker-compose","go","golang"],"created_at":"2024-11-15T13:16:27.790Z","updated_at":"2025-07-26T04:35:02.303Z","avatar_url":"https://github.com/GhostManager.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ghostwriter_CLI\n\n[![Go](https://img.shields.io/badge/Go-1.18-9cf)](.) [![License](https://img.shields.io/badge/License-BSD3-darkred.svg)](.)\n\n![GitHub Release (Latest by Date)](https://img.shields.io/github/v/release/GhostManager/Ghostwriter_CLI?label=Latest%20Release)\n![GitHub Release Date](https://img.shields.io/github/release-date/ghostmanager/Ghostwriter_CLI?label=Release%20Date)\n\n[![CodeFactor](https://img.shields.io/codefactor/grade/github/GhostManager/Ghostwriter_CLI?label=Code%20Quality)](.)\n\nGolang code for the `ghostwriter-cli` binary in [Ghostwriter](https://github.com/GhostManager/Ghostwriter). This binary provides control for various aspects of Ghostwriter's configuration.\n\n## Usage\n\nExecute `./ghostwriter-cli help` for usage information (see below). More information about Ghostwriter and how to manage it with `ghostwriter-cli` can be found on the [Ghostwriter Wiki](https://ghostwriter.wiki/).\n\n```plaintext\nGhostwriter CLI is a command line interface for managing the Ghostwriter\napplication and associated containers and services. Commands are grouped by their use.\n\nUsage:\n  ghostwriter-cli [command]\n\nAvailable Commands:\n  backup      Creates a backup of the PostgreSQL database\n  completion  Generate the autocompletion script for the specified shell\n  config      Display or adjust the configuration\n  containers  Manage Ghostwriter containers with subcommands\n  down        Shortcut for `containers down`\n  gencert     Create a new SSL/TLS certificate and DH param file for the Nginx web server\n  healthcheck Check the health of Ghostwriter's services\n  help        Help about any command\n  install     Builds containers and performs first-time setup of Ghostwriter\n  logs        Fetch logs for Ghostwriter services\n  pg-upgrade  Upgrades the PostgreSQL database\n  restore     Restores the specified PostgreSQL database backup\n  running     Print a list of running Ghostwriter services\n  tagcleanup  Run Django's tag cleanup commands to deduplicate tags and remove orphaned tags\n  test        Runs Ghostwriter's unit tests in the development environment\n  uninstall   Remove all Ghostwriter containers, images, and volume data\n  up          Shortcut for `containers up`\n  update      Displays version information for Ghostwriter\n  version     Displays Ghostwriter CLI's version information\n\nFlags:\n      --dev    Target the development environment for \"install\" and \"containers\" commands.\n  -h, --help   help for ghostwriter-cli\n\nUse \"ghostwriter-cli [command] --help\" for more information about a command.\n```\n\n## Compilation\n\nThe binaries distributed with Ghostwriter and attached to releases are compiled with the following command to set version and build date information:\n\n```bash\ngo build -ldflags=\"-s -w -X 'github.com/GhostManager/Ghostwriter_CLI/cmd/config.Version=`git describe --tags --abbrev=0`' -X 'github.com/GhostManager/Ghostwriter_CLI/cmd/config.BuildDate=`date -u '+%d %b %Y'`'\" -o ghostwriter-cli main.go\n```\n\nThe version for rolling releases is set to `rolling`.\n\nBuilds pass through `upx` with `upx --brute ghostwriter-cli`. This is simply so that the standard ~8.5MB Golang file is compressed down to a ~2.5MB file for easier inclusion with the Ghostwriter repo.\n\nAll releases include the MD5 hash of the packed binary so you can verify the downloaded binary matches the release. Compile and pack the code with the above commands (or use the pre-compiled binary from a release or Ghostwriter) and then calculate the hash with `md5sum` for comparison. Note that hashes will be different if your command sets different version and build date information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghostmanager%2Fghostwriter_cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fghostmanager%2Fghostwriter_cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghostmanager%2Fghostwriter_cli/lists"}