Wano is a web-based text editor inspired by Nano.
Wano provides a convenient way to edit text files using a web interface, similar to the popular Nano text editor.
- Python 3.x
- pyngrok
- uuid
- Flask
You can install Wano using pip. First, clone the repository:
git clone https://github.com/lucydjo/wano
cd wano
Then, install the package using pip
:
pip install .
This will install the necessary dependencies and make wano
command available in your environment.
Wano uses Ngrok to expose the local web server to the internet. Before using Wano, set your Ngrok authentication token as an environment variable:
export NGROK_WANO_KEY=your_ngrok_auth_token
You can obtain your Ngrok authentication token from https://dashboard.ngrok.com/get-started/your-authtoken.
To edit a text file with Wano, use the following command:
wano anyfile.txt
This will start the Wano server, open the specified file (anyfile.txt
in this example) in the web-based editor, and expose it using Ngrok for external access.
After running the wano
command, you can access the editor by navigating to the provided Ngrok URL in your web browser.