{"id":17382930,"url":"https://github.com/sourlemonjuice/shell-readline","last_synced_at":"2026-06-08T16:02:55.537Z","repository":{"id":254092708,"uuid":"845462252","full_name":"SourLemonJuice/Shell-readline","owner":"SourLemonJuice","description":"Use GNU readline to get user input. Like the \"read\" command, but needs to do more","archived":false,"fork":false,"pushed_at":"2024-09-04T20:29:23.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T23:26:57.261Z","etag":null,"topics":["readline","shell","utility"],"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/SourLemonJuice.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-21T09:53:41.000Z","updated_at":"2024-09-04T20:29:26.000Z","dependencies_parsed_at":"2024-08-21T11:30:41.595Z","dependency_job_id":"304919d3-10a6-4ebf-877e-c7892d393be4","html_url":"https://github.com/SourLemonJuice/Shell-readline","commit_stats":null,"previous_names":["sourlemonjuice/simple-readline"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SourLemonJuice%2FShell-readline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SourLemonJuice%2FShell-readline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SourLemonJuice%2FShell-readline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SourLemonJuice%2FShell-readline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SourLemonJuice","download_url":"https://codeload.github.com/SourLemonJuice/Shell-readline/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245924493,"owners_count":20694728,"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":["readline","shell","utility"],"created_at":"2024-10-16T07:39:51.518Z","updated_at":"2026-06-08T16:02:55.491Z","avatar_url":"https://github.com/SourLemonJuice.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shell-readline\n\nUse GNU readline to get user input than output them to `stdout`.\\\nTry to replace the bash `read`, because that's too basic and also has problems when inputting wide characters.\n\n## Build\n\nGoto `source/` directory and run `make`, `clang` will help everyone equally\n\n## Usage\n\nRun `./shell-readline help` to get help\n\n```text\nNote: This program doesn't have any flags(for now)\nUsage: simple-readline\n\nThe final user input will be printed to stdout, the readline interface will displayed on stderr.\nIn bash, use \"simple-readline | cat -\" to provide stdin to another command.\nAlso can use \"input=$(simple-readline)\" to write input to a variable.\nBash's Command Substitution and Pipe only use stdout stream, remember this when writing script.\n\nIf any arguments are entered, this help message will be displayed.\n```\n\n## See also\n\n- [An answer of StackOverflow: How to store standard error in a variable](https://stackoverflow.com/a/963857/25416550)\n- [source/test.sh](source/test.sh) in this repository\n- \u003chttps://www.gnu.org/software/bash/manual/html_node/Command-Substitution.html\u003e\n\n## License\n\nPublished under MIT license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsourlemonjuice%2Fshell-readline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsourlemonjuice%2Fshell-readline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsourlemonjuice%2Fshell-readline/lists"}