Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MaxAFriedrich/txt_server
Reads a plain text file and inserts it into as html template, serves it on localhost and opens it in the defualt web-browser.
https://github.com/MaxAFriedrich/txt_server
html-server plaintext python3
Last synced: 3 months ago
JSON representation
Reads a plain text file and inserts it into as html template, serves it on localhost and opens it in the defualt web-browser.
- Host: GitHub
- URL: https://github.com/MaxAFriedrich/txt_server
- Owner: MaxAFriedrich
- License: mit
- Created: 2023-01-05T19:26:35.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-05T19:34:13.000Z (almost 2 years ago)
- Last Synced: 2024-05-30T02:46:15.425Z (6 months ago)
- Topics: html-server, plaintext, python3
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# txt_server
Reads a plain text file and inserts it into as html template, serves it on localhost and opens it in the defualt web-browser.## Usage
```bash
git clone https://github.com/MaxAFriedrich/txt_server
cd txt_server
python txt_server file/name.txt
```You can also specify a port, to do this use `-p [portnumber]`.
It may be handy to setup an alias to this project to make it easier to use.