Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hakobe/htmlcatgo
golang clone of htmlcat https://github.com/motemen/App-htmlcat
https://github.com/hakobe/htmlcatgo
Last synced: 8 days ago
JSON representation
golang clone of htmlcat https://github.com/motemen/App-htmlcat
- Host: GitHub
- URL: https://github.com/hakobe/htmlcatgo
- Owner: hakobe
- Created: 2013-12-09T00:17:43.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2013-12-17T05:00:19.000Z (almost 11 years ago)
- Last Synced: 2024-06-19T05:59:32.900Z (5 months ago)
- Language: Go
- Homepage:
- Size: 145 KB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# htmlcatgo
golang clone of htmlcat https://github.com/motemen/App-htmlcat - stdin to your browser
## Feature
`htmlcatgo` brings stdin input to html with creating new HTTP server.
This requires your browser to support Server-Sent Event.
## Install
```sh
$ go get github.com/hakobe/htmlcatgo
$ go install github.com/hakobe/htmlcatgo
```## Usage
```sh
$ tail -F /var/log/message | htmlcatgo
```You will see message below
```sh
2013/12/16 08:15:02 htmlcatgo: http://localhost:45273
```and you can see output of `tail -F /var/log/message` at http://localhost:45273 on your browser.
## Author
Yohei Fushii