{"repo":"bony2023/react-terminal","free":true,"listed":false,"github":"https://github.com/bony2023/react-terminal","clone":"git clone https://github.com/bony2023/react-terminal.git","description":"🚀 React component that renders a Terminal 🖥","language":"TypeScript","stars":377,"topics":["react","terminal","javascript","async","props","webapp"],"license":"MIT","category":"cli-tools","readme_excerpt":"🚀 React component that renders a Terminal 🖥 Features • Installation • Usage • Props • Report a bug Looking for Sponsors/Contributors While my time is restricted, I'm still committed to this library. To help focus development, sponsorship is appreciated for urgent feature requests. I strongly encourage community contributions through pull requests. Feel free to submit them for any issues or new features, and I'll be happy to review them. Thank you! Features - Mobile support. 📱 - Customizable commands, prompt and error message. ✅ - Support callbacks(async/non-async) for commands. 🔄 - Command history using arrow up and down. 🔼 - Support for copy/paste. 📋 - In-built themes and support to create more. 🚀 Installation Install package with NPM or YARN and add it to your development dependencies: OR Usage Also make sure to wrap the main mountpoint around the TerminalContextProvider . This retains the state even when the component is unmounted and then mounted back: Creating custom themes The component comes with few in-built themes: light , dark , material-light , material-dark , material-ocean , matrix and dracula . You can also create custom themes by passing themes parameter in props, as follows: Props name description default -- -- -- welcomeMessage A welcome message to show at the start, before the prompt begins. Value can be either a string or JSX null prompt Terminal prompt commands List of commands to be provided as a key value pair where value can be either a string, J","default_branch":null,"files":null,"tree":[],"storefront":"/r/bony2023","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bony2023/react-terminal/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}