https://github.com/hakobe/htmlcatgo
golang clone of htmlcat https://github.com/motemen/App-htmlcat
https://github.com/hakobe/htmlcatgo
Last synced: about 1 year 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 (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-12-17T05:00:19.000Z (over 12 years ago)
- Last Synced: 2025-03-24T05:35:04.123Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 145 KB
- Stars: 7
- Watchers: 1
- 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