{"id":20063888,"url":"https://github.com/writeas/go-ghost","last_synced_at":"2025-09-17T16:50:31.026Z","repository":{"id":39916680,"uuid":"172806472","full_name":"writeas/go-ghost","owner":"writeas","description":"Go library for the Ghost API","archived":false,"fork":false,"pushed_at":"2024-10-03T20:46:41.000Z","size":16,"stargazers_count":9,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-09T02:12:16.298Z","etag":null,"topics":["ghost-api","go"],"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/writeas.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}},"created_at":"2019-02-26T23:22:32.000Z","updated_at":"2025-03-30T17:54:08.000Z","dependencies_parsed_at":"2022-09-21T05:05:45.738Z","dependency_job_id":null,"html_url":"https://github.com/writeas/go-ghost","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writeas%2Fgo-ghost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writeas%2Fgo-ghost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writeas%2Fgo-ghost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writeas%2Fgo-ghost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/writeas","download_url":"https://codeload.github.com/writeas/go-ghost/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252542525,"owners_count":21764984,"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","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":["ghost-api","go"],"created_at":"2024-11-13T13:44:06.655Z","updated_at":"2025-09-17T16:50:25.967Z","avatar_url":"https://github.com/writeas.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-ghost\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/writeas/go-ghost.svg)](https://pkg.go.dev/github.com/writeas/go-ghost)\n\ngo-ghost is a Go (golang) library for accessing the Ghost API.\n\nThis library is **incomplete**, and tailored toward our [Write.as](https://write.as) / [WriteFreely](https://writefreely.org) integration. But contributions (including those to support the full Ghost API) are welcome!\n\n## Install\n\n```text\ngo get -u github.com/writeas/go-ghost\n```\n\n## Usage\n\nCreate a post:\n\n```go\nimport (\n\t\"github.com/writeas/go-ghost\"\n\t\"github.com/writeas/go-ghost/admin\"\n)\n\nfunc main() {\n\t// NewClient takes your Ghost URL and admin API key\n\tc := ghost.NewClient(\"http://localhost:2368\", \"fc765549cb7e9d05d5ecf2c9:d3e6d27fcf782ceebea59024010aec...\")\n\terr := admin.AddPost(c, ghost.PostParams{\n\t\tTitle:    ghost.String(\"My Post Title\"),\n\t\tMarkdown: ghost.String(`This is a **test post** made with the [go-ghost](https://github.com/writeas/go-ghost) library.`),\n\t\tStatus:   ghost.String(\"published\"),\n\t})\n\tif err != nil {\n\t\t// Handle error\n\t}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwriteas%2Fgo-ghost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwriteas%2Fgo-ghost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwriteas%2Fgo-ghost/lists"}