{"id":13579082,"url":"https://github.com/AmokHuginnsson/replxx","last_synced_at":"2025-04-05T20:33:02.774Z","repository":{"id":27332073,"uuid":"82783929","full_name":"AmokHuginnsson/replxx","owner":"AmokHuginnsson","description":"A readline and libedit replacement that supports UTF-8, syntax highlighting, hints and Windows and is BSD licensed.","archived":false,"fork":false,"pushed_at":"2024-04-14T16:30:32.000Z","size":912,"stargazers_count":698,"open_issues_count":33,"forks_count":112,"subscribers_count":30,"default_branch":"master","last_synced_at":"2025-03-19T17:47:22.922Z","etag":null,"topics":["ansi","gnu-readline","libedit","linenoise","multiplatform","readline","syntax-highlighting","utf-8"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AmokHuginnsson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-02-22T09:10:21.000Z","updated_at":"2025-03-05T00:27:43.000Z","dependencies_parsed_at":"2024-01-31T09:02:22.935Z","dependency_job_id":"86d3199e-bb3f-440a-896c-2c2134f07a79","html_url":"https://github.com/AmokHuginnsson/replxx","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmokHuginnsson%2Freplxx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmokHuginnsson%2Freplxx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmokHuginnsson%2Freplxx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmokHuginnsson%2Freplxx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AmokHuginnsson","download_url":"https://codeload.github.com/AmokHuginnsson/replxx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247399818,"owners_count":20932875,"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":["ansi","gnu-readline","libedit","linenoise","multiplatform","readline","syntax-highlighting","utf-8"],"created_at":"2024-08-01T15:01:36.360Z","updated_at":"2025-04-05T20:33:00.167Z","avatar_url":"https://github.com/AmokHuginnsson.png","language":"C++","funding_links":[],"categories":["CLI","\u003ca name=\"cpp\"\u003e\u003c/a\u003eC++","C++","Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# Read Evaluate Print Loop ++\n\n![demo](https://codestation.org/download/replxx.gif)\n\n![Build Status](https://github.com/AmokHuginnsson/replxx/actions/workflows/ci.yml/badge.svg)\n\nA small, portable GNU readline replacement for Linux, Windows and\nMacOS which is capable of handling UTF-8 characters. Unlike GNU\nreadline, which is GPL, this library uses a BSD license and can be\nused in any kind of program.\n\n## Origin\n\nThis replxx implementation is based on the work by\n[ArangoDB Team](https://github.com/arangodb/linenoise-ng) and\n[Salvatore Sanfilippo](https://github.com/antirez/linenoise) and\n10gen Inc.  The goal is to create a zero-config, BSD\nlicensed, readline replacement usable in Apache2 or BSD licensed\nprograms.\n\n## Features\n\n* single-line and multi-line editing mode with the usual key bindings implemented\n* history handling\n* completion\n* syntax highlighting\n* hints\n* BSD license source code\n* Only uses a subset of VT100 escapes (ANSI.SYS compatible)\n* UTF8 aware\n* support for Linux, MacOS and Windows\n\n## Requirements\n\nTo build this library, you will need a C++11-enabled compiler and\nsome recent version of CMake.\n\n## Build instructions\n\n### *nix\n\n1. Create a build directory\n\n```bash\nmkdir -p build \u0026\u0026 cd build\n```\n\n2. Build the library\n\n```bash\ncmake -DCMAKE_BUILD_TYPE=Release .. \u0026\u0026 make\n```\n\n3. Install the library at the default target location\n\n```bash\nsudo make install\n```\n\nThe default installation location can be adjusted by setting the `DESTDIR`\nvariable when invoking `make install`:\n\n```bash\nmake DESTDIR=/tmp install\n```\n\n### Windows\n\n1. Create a build directory in MS-DOS command prompt\n\n```\nmd build\ncd build\n```\n\n2. Generate Visual Studio solution file with cmake\n\n* 32 bit: \n```bash\ncmake -G \"Visual Studio 12 2013\" -DCMAKE_BUILD_TYPE=Release ..\n```\n* 64 bit:\n```bash\ncmake -G \"Visual Studio 12 2013 Win64\" -DCMAKE_BUILD_TYPE=Release ..\n```\n\n3. Open the generated file `replxx.sln` in the `build` subdirectory with Visual Studio.\n\n## Tested with...\n\n * Linux text only console ($TERM = linux)\n * Linux KDE terminal application ($TERM = xterm)\n * Linux xterm ($TERM = xterm)\n * Linux Buildroot ($TERM = vt100)\n * Mac OS X iTerm ($TERM = xterm)\n * Mac OS X default Terminal.app ($TERM = xterm)\n * OpenBSD 4.5 through an OSX Terminal.app ($TERM = screen)\n * IBM AIX 6.1\n * FreeBSD xterm ($TERM = xterm)\n * ANSI.SYS\n * Emacs comint mode ($TERM = dumb)\n * Windows\n\nPlease test it everywhere you can and report back!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAmokHuginnsson%2Freplxx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAmokHuginnsson%2Freplxx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAmokHuginnsson%2Freplxx/lists"}