{"id":24966874,"url":"https://github.com/a-khakimov/github-client","last_synced_at":"2025-03-29T02:27:15.270Z","repository":{"id":113732372,"uuid":"293129875","full_name":"a-khakimov/github-client","owner":"a-khakimov","description":"Простая консольная утилита для отображения информации о репозитории и списка коммитов.","archived":false,"fork":false,"pushed_at":"2020-09-10T04:29:35.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-03T12:46:42.190Z","etag":null,"topics":["cpp","github-api","http-client"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/a-khakimov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-05T18:10:31.000Z","updated_at":"2020-09-10T04:29:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"a91a977a-a14a-46a4-b0f2-4883d7116a05","html_url":"https://github.com/a-khakimov/github-client","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/a-khakimov%2Fgithub-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-khakimov%2Fgithub-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-khakimov%2Fgithub-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-khakimov%2Fgithub-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a-khakimov","download_url":"https://codeload.github.com/a-khakimov/github-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246128469,"owners_count":20727910,"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":["cpp","github-api","http-client"],"created_at":"2025-02-03T12:33:37.848Z","updated_at":"2025-03-29T02:27:15.265Z","avatar_url":"https://github.com/a-khakimov.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-client\n\nПростая консольная утилита для отображения информации о репозитории и списка коммитов.\n\n## Зависимости\n\n* [libcurl](https://github.com/curl/curl)\n* [nlohmann-json](https://github.com/nlohmann/json)\n\n## Сборка\n\n### Linux (Ubuntu)\n\n#### Установка зависимостей\n\n```bash\n$ apt install -y nlohmann-json-dev\n$ apt install libcurl4-openssl-dev\n```\n\n#### Сборка\n\n```bash\n$ make\n```\n\n### Windows (msys)\n\n#### Установка зависимостей\n\n```\n# pacman -S libcurl-devel\n# pacman -S mingw-w64-x86_64-nlohmann-json\n```\n\n#### Сборка\n\n`INC=-I/mingw64/include` - путь к `nlohmann/json.hpp`.\n\n```\n# INC=-I/mingw64/include make\n```\n\n## Запуск\n\nUsage-сообщение:\n\n```bash\n$ ./github-client -h\nUsage:\n\t./github-client\nArguments:\n\t -h  Help\n\t -r  \u003crepo\u003e\n\t -o  \u003cowner\u003e\n\t -c  Print commits for last [day]|[week]|[month]\n\t -i  Print repo information\n```\n\nИнформация о репозитории:\n\n```bash\n$ ./github-client -o curl -r curl -i\nFull name: curl/curl\nHomepage: https://curl.haxx.se/\nUrl: git://github.com/curl/curl.git\nLanguages: C\nCreated: 2010-03-18T22:32:22Z\nUpdated: 2020-09-07T16:03:23Z\nDescription: A command line tool and library for transferring data with URL syntax, \nsupporting HTTP, HTTPS, FTP, FTPS, GOPHER, TFTP, SCP, SFTP, SMB, TELNET, DICT, LDAP, \nLDAPS, MQTT, FILE, IMAP, SMTP, POP3, RTSP and RTMP. libcurl offers a myriad of powerful features\n```\n\nСписок коммитов за неделю:\n\n```bash\n$ ./github-client -o curl -r curl -c week\n--------------- Commits -------------------\n                Date                Author   Message\n2020-09-07T14:20:16Z       Daniel Stenberg [ openssl: consider ALERT_CERTIFICATE_EXPI ... ]\n2020-09-07T15:08:07Z       Daniel Stenberg [ FAQ: refreshed some very old language ... ]\n2020-09-07T09:08:35Z       Daniel Stenberg [ cmake: make HTTP_ONLY also disable MQTT ... ]\n2020-09-07T08:46:55Z       Daniel Stenberg [ libtest: remove lib1541 leftoversCausese ... ]\n2020-09-07T08:29:40Z       Daniel Stenberg [ tests/libtests: remove test 1900 and 203 ... ]\n2020-09-06T19:27:41Z         Marc Hoersken [ CI/azure: add test number to title for d ... ]\n....\n--------------- Commits -------------------\n```\n\n# TODO-list\n\n* [ ] Тесты!!!\n* [ ] Возможность выбирать ветку\n* [ ] Отображение списка веток\n* [ ] Отображение списка issues\n* [ ] Отображение списка pull requests\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-khakimov%2Fgithub-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa-khakimov%2Fgithub-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-khakimov%2Fgithub-client/lists"}