{"id":21771074,"url":"https://github.com/tomlin7/pastemyst-cpp","last_synced_at":"2026-04-21T16:40:48.506Z","repository":{"id":46072911,"uuid":"374931384","full_name":"tomlin7/pastemyst-cpp","owner":"tomlin7","description":"A fast API wrapper for PasteMyst written in C++.","archived":false,"fork":false,"pushed_at":"2021-11-16T13:04:37.000Z","size":233,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-14T14:44:56.092Z","etag":null,"topics":["api","api-wrapper","cpp","pastemyst"],"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/tomlin7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-08T08:05:16.000Z","updated_at":"2022-12-12T16:14:09.000Z","dependencies_parsed_at":"2022-09-23T07:02:08.365Z","dependency_job_id":null,"html_url":"https://github.com/tomlin7/pastemyst-cpp","commit_stats":null,"previous_names":["tomlin7/pastemyst-cpp"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/tomlin7/pastemyst-cpp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomlin7%2Fpastemyst-cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomlin7%2Fpastemyst-cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomlin7%2Fpastemyst-cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomlin7%2Fpastemyst-cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomlin7","download_url":"https://codeload.github.com/tomlin7/pastemyst-cpp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomlin7%2Fpastemyst-cpp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32101062,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T11:25:29.218Z","status":"ssl_error","status_checked_at":"2026-04-21T11:25:28.499Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["api","api-wrapper","cpp","pastemyst"],"created_at":"2024-11-26T14:14:57.923Z","updated_at":"2026-04-21T16:40:48.486Z","avatar_url":"https://github.com/tomlin7.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://paste.myst.rs/\"\u003e\n        \u003cimg width=\"500\" src=\"logo.png\" alt=\"Logo\" /\u003e\u003cbr\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003e \n    \u003ca href=\"https://github.com/billyeatcookies/pastemyst-cpp/actions\"\u003e\n        \u003cimg alt=\"Build status\" src=\"https://img.shields.io/github/issues-pr/billyeatcookies/pastemyst.cpp?style=for-the-badge\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/billyeatcookies/pastemyst-cpp/issues\"\u003e\n        \u003cimg alt=\"GitHub issues\" src=\"https://img.shields.io/github/issues/billyeatcookies/pastemyst-cpp?style=for-the-badge\u0026logo=github\"\u003e\n    \u003c/a\u003e\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\nA fast API wrapper for PasteMyst written in C++. \u003c/br\u003e\nOfficial pastemyst API docs found \u003ca href=\"https://paste.myst.rs/api-docs/index\"\u003ehere\u003c/a\u003e.\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\nAll aspects of the v2 endpoint are currently implemented.\n\u003c/p\u003e\n\n---\n\n## Usage\n\nClone this repository. Add reference to pastemyst in your project, and you are ready to go!\n\nFor example, information on a paste can be retrieved as such:\n\n```cpp\n#include \"pastemyst.h\"\n\nint main()\n{\n    Client client;\n\n    std::string pasteID = \"paste_id\";\n    if(client.PasteExists(pasteID))\n    {\n        auto paste = client.GetPaste(pasteID);\n    }\n}\n```\nHave a look at this [complete sample project](https://github.com/billyeatcookies/pastemyst-cpp/tree/master/pastemyst.sample) for further usage instructions.\n\nYou can find a list of endpoints over on PasteMyst's [API docs](https://paste.myst.rs/api-docs/). Each of these endpoints has an equivalent wrapper method in the library. \n\n## Requirements\n\n- [vcpkg](https://github.com/microsoft/vcpkg)\n- [cpr](https://github.com/whoshuu/cpr)\n- [nlohmann/json](https://github.com/nlohmann/json)\n\n```cmd\n\u003e git clone https://github.com/microsoft/vcpkg\n\u003e .\\vcpkg\\bootstrap-vcpkg.bat\n\u003e .\\vcpkg\\vcpkg integrate install\n\u003e vcpkg install cpr nlohmann-json\n```\n\n## License\n\nThis project is available under a [MIT](./LICENSE) license.\n\n## Acknowledgements\n\nThanks to [WaifuShork](https://github.com/WaifuShork) for helping me out on writing this, check [pastemystgo](https://github.com/WaifuShork/pastemystgo).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomlin7%2Fpastemyst-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomlin7%2Fpastemyst-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomlin7%2Fpastemyst-cpp/lists"}