{"id":13645804,"url":"https://github.com/Svalorzen/cpp-readline","last_synced_at":"2025-04-21T17:31:25.089Z","repository":{"id":14664272,"uuid":"17382868","full_name":"Svalorzen/cpp-readline","owner":"Svalorzen","description":"A very simple C++ wrapper for GNU readline.","archived":false,"fork":false,"pushed_at":"2017-08-19T15:54:37.000Z","size":30,"stargazers_count":60,"open_issues_count":0,"forks_count":19,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-09T19:39:34.881Z","etag":null,"topics":["c-plus-plus","cpp-readline","gnu-readline","readline-library"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Svalorzen.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":"2014-03-03T22:46:32.000Z","updated_at":"2024-10-13T18:08:42.000Z","dependencies_parsed_at":"2022-09-15T06:02:24.309Z","dependency_job_id":null,"html_url":"https://github.com/Svalorzen/cpp-readline","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/Svalorzen%2Fcpp-readline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Svalorzen%2Fcpp-readline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Svalorzen%2Fcpp-readline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Svalorzen%2Fcpp-readline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Svalorzen","download_url":"https://codeload.github.com/Svalorzen/cpp-readline/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250100410,"owners_count":21374932,"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":["c-plus-plus","cpp-readline","gnu-readline","readline-library"],"created_at":"2024-08-02T01:02:42.230Z","updated_at":"2025-04-21T17:31:24.831Z","avatar_url":"https://github.com/Svalorzen.png","language":"C++","readme":"cpp-readline\n============\n\nThis is a very simple library that wraps GNU readline into a C++ reusable class,\nhiding all the global state of the readline library. It is meant to help you\ninterface really easily with your programs, while waiting for a more powerful\nsolution (or improving this library itself for your needs).\n\nFeatures\n========\n\nThe main features of this library are:\n\n- Easy adding of custom commands\n- Automatic completion of commands and filenames.\n- Can run files containing lists of commands automatically.\n- Multiple separate Consoles can be run at the same time, bypassing the readline\n  library global state.\n- Currently NOT thread-safe.\n\nRequirements\n============\n\nThe library currently requires support for C++11, and, of course, the readline\nlibrary.\n\nBuilding\n========\n\nThis repository includes a very simple makefile to build the provided example,\nbut since the library is a single class you can simply include it directly into\nyour project and compile it with the rest, without creating a library file.\n\nOtherwise the repository also has supporto for CMake, if you need to integrate\nthat with your existing build. To build the project using CMake, just do the \nfollowing in the project root directory:\n\n    mkdir build\n    cd build\n    cmake ..\n    make\n\nThe makefile default compiler is g++, if you are using a different compiler\nsimply change the parameters to suit you (or compile manually, it's really just\nthree files).\n\nUsage\n=====\n\nThis library's usage can easily be seen in the file `example/main.cpp`.\n","funding_links":[],"categories":["C++"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSvalorzen%2Fcpp-readline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSvalorzen%2Fcpp-readline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSvalorzen%2Fcpp-readline/lists"}