{"id":22184354,"url":"https://github.com/jmdaemon/gist","last_synced_at":"2025-03-24T19:24:29.038Z","repository":{"id":46833624,"uuid":"376927249","full_name":"jmdaemon/gist","owner":"jmdaemon","description":"GitHub Gists CLI tool written in C++","archived":false,"fork":false,"pushed_at":"2022-09-27T08:10:23.000Z","size":192,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T00:12:57.109Z","etag":null,"topics":["cmake","cpp","gist"],"latest_commit_sha":null,"homepage":"","language":"C++","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/jmdaemon.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":"2021-06-14T18:58:54.000Z","updated_at":"2021-12-23T04:00:45.000Z","dependencies_parsed_at":"2023-01-18T19:16:19.615Z","dependency_job_id":null,"html_url":"https://github.com/jmdaemon/gist","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmdaemon%2Fgist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmdaemon%2Fgist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmdaemon%2Fgist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmdaemon%2Fgist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmdaemon","download_url":"https://codeload.github.com/jmdaemon/gist/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245336019,"owners_count":20598602,"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":["cmake","cpp","gist"],"created_at":"2024-12-02T10:12:47.884Z","updated_at":"2025-03-24T19:24:29.019Z","avatar_url":"https://github.com/jmdaemon.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gist\n\nA Github gists cli tool\n\n## Table of Contents\n\n1. [Usage](#usage)\n2. [Build](#build)\n3. [Install](#install)\n4. [Uninstall](#uninstall)\n5. [Configure](#configure)\n6. [Contribute](#contribute)\n7. [Potential Features](#features)\n\n## Usage\n\n``` bash\n# Lists out gist json response\ngist list\n\n# Create new gist from STDIN\ngist new\n# Filename: helloworld.c\n# Contents:\n# int main () {\n#     puts(\"Hello World!\");\n# }\n# Description: Hello world c example\n# Make Private? [y/n]: n\n\n# Create new gist from cli arguments\ngist create -f \"filename\" -d \"desc\" -p # Create private gist\n\n# Delete gists with matching id\ngist delete -i \"[id]\"\n\n# or by matching file name\ngist delete name -f asdf\n\n# or by date timestamps\ngist delete date -c \"2022-08-23T21:37:26Z\" -t exact # Choices: [exact, before, after]\n\n# Update gist information\ngist update -i \"[id]\" -f aaaa -d \"Revised Description\"\ngist update -i \"[id]\" -f aaaa -n asdf # Rename gist file name to asdf\n\n# Search gists for matching id\ngist search id -i \"[id]\"\n\n# or by file name\ngist search name -f asdf\n\n# or by date\ngist search date -c \"2022-08-23T21:37:26Z\" -t after\n```\n\nFor more information, see `gist -h`\n\n## Build\n\nTo build with `ninja`:\n\n``` bash\ncmake --preset gcc-release-ninja\ncd build/gcc-release-ninja\nninja\n```\n\nTo build with `make`:\n\n``` bash\ncmake --preset gcc-release-unix-makefiles\ncd build/gcc-release-unix-makefiles\nmake\n```\n\n## Install\nTo install to `/usr/local/`:\n\n``` bash\nsudo cmake --install .\n```\n\nIf you want to install to `/usr` instead:\n\n``` bash\nsudo cmake --install --prefix /usr\n```\n\n## Uninstall\n\nTo uninstall:\n\n``` bash\ncmake uninstall .\nsudo make uninstall\n# or\nsudo ninja uninstall\n```\n\n## Configure\n\nIf you want to use a different file/path for configuring gist, either:\n\n1. Set the `GIST_CONFIG_HOME` variable to your config file path.\n2. Use the `-g` option and specify the full path to your config.\n\nAn example config file is provided in the repository.\n\n## Contribute\n\nContributions are welcome. Feel free to use the issues page to report issues, or suggest features.\n\n## Features\n\nMore potential features that would make this application really killer:\n- CLI option to receive gist content as output.\n- Manpage to view arguments/options and commands.\n- Doctest unit tests \u0026 automated testing.\n- Automated releases\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmdaemon%2Fgist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmdaemon%2Fgist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmdaemon%2Fgist/lists"}