{"id":17159803,"url":"https://github.com/maximed/gost","last_synced_at":"2025-03-22T18:33:36.571Z","repository":{"id":12837896,"uuid":"15513405","full_name":"MaximeD/gost","owner":"MaximeD","description":"A gist client in go","archived":false,"fork":false,"pushed_at":"2015-12-06T11:39:37.000Z","size":47,"stargazers_count":71,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-18T13:51:30.473Z","etag":null,"topics":["gist-client"],"latest_commit_sha":null,"homepage":null,"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/MaximeD.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2013-12-29T19:04:38.000Z","updated_at":"2024-11-28T16:28:31.000Z","dependencies_parsed_at":"2022-09-15T19:00:53.475Z","dependency_job_id":null,"html_url":"https://github.com/MaximeD/gost","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaximeD%2Fgost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaximeD%2Fgost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaximeD%2Fgost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaximeD%2Fgost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaximeD","download_url":"https://codeload.github.com/MaximeD/gost/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245003357,"owners_count":20545598,"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":["gist-client"],"created_at":"2024-10-14T22:15:10.573Z","updated_at":"2025-03-22T18:33:36.295Z","avatar_url":"https://github.com/MaximeD.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gost\n\n*The gist client in go*\n\nGost is a client for the gist API,\nit allows you to create and browse the gists of [https://gist.github.com/](https://gist.github.com/).\n\n# Installation\n\nYou can grab a binary for your platform on the\n[releases page](https://github.com/MaximeD/gost/releases).\n\n\nOr else, you can install it from sources:\n\n```\ngo get github.com/MaximeD/gost\n```\n\n\n# Usage\n\n## Create gists\n\n```\ngost \u003cfiles name\u003e\n```\n\nYou can supply as many files as you want here.\n\n\nFull example:\n\n```\ngost -p -d \"rocking the casbah\" fun.go love_gist.rb\n```\n\nwill create a private gist with description \"rocking the casbah\"\nwith two files `fun.go` and `love_gist.rb`.\nThe resulting url will be copy to your clipboard.\n\n### Command line options\n\n#### Private gists\n\nBy default, your gists are public.\nIf you want a private one, just add `-p` to your command.\nOn first run, `gost` will create a prompt you for your credentials\nand store a token in it's configuration file,\nso that you will have to do this step only once.\n\n#### Description\n\nTo give your gist a description use `-d \u003cdescription\u003e`.\n\n#### Open result in browser\n\nTo have your browser auto open on the url, use the flag `-o`.\n(It will rely on `xdg-open`).\n\n\n## Update gist\n\nTo update a gist:\n\n```\ngost -u \u003cgist_id_or_url\u003e \u003cfiles name\u003e\n```\n\nYou can supply an optional `-d` flag to update the description of your gist.\n\n```\ngost -u \u003cgist_id_or_url\u003e -d \u003cnew description\u003e \u003cfiles name\u003e\n```\n\n\n## List gists\n\nYou can list the gist of a user with the following:\n\n```\ngost -l \u003cusername\u003e\n```\n\n## Download a gist\n\n```\ngost -g \u003cgist_id_or_url\u003e\n```\n\n## Delete a gist\n\nGiven you have the id of one of your gist and the right to delete it, use `-D` flag:\n\n```\ngost -D \u003cgist_id_or_url\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximed%2Fgost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaximed%2Fgost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximed%2Fgost/lists"}