mirror of
https://github.com/tsl0922/ttyd.git
synced 2026-01-07 11:24:23 +01:00
[ci skip] update README.md and use libopenssl for openwrt
This commit is contained in:
17
README.md
17
README.md
@@ -11,11 +11,11 @@ ttyd is a simple command-line tool for sharing terminal over the web, inspired b
|
||||
- SSL support based on [OpenSSL](https://www.openssl.org)
|
||||
- Run any custom command with options
|
||||
- Basic authentication support
|
||||
- Cross platform: macOS, Linux, OpenWrt
|
||||
- Cross platform: macOS, Linux, [OpenWrt](https://openwrt.org)/[LEDE](https://www.lede-project.org)
|
||||
|
||||
# Installation
|
||||
|
||||
### For Mac OS X users
|
||||
## Install on macOS
|
||||
|
||||
Install with [homebrew](http://brew.sh):
|
||||
|
||||
@@ -24,7 +24,7 @@ brew tap tsl0922/ttyd
|
||||
brew install ttyd
|
||||
```
|
||||
|
||||
### For Linux users
|
||||
## Install on Linux
|
||||
|
||||
Ubuntu 16.04 as example:
|
||||
|
||||
@@ -36,8 +36,15 @@ cmake ..
|
||||
make && make install
|
||||
```
|
||||
|
||||
> **NOTE:** You may need to compile libwebsockets from source for ubuntu versions old than 16.04,
|
||||
> since they have outdated `libwebsockets-dev` package ([Issue #6](https://github.com/tsl0922/ttyd/issues/6)).
|
||||
> **NOTE:** You may need to compile libwebsockets from source for ubuntu versions old than 16.04, since they have outdated `libwebsockets-dev` package ([Issue #6](https://github.com/tsl0922/ttyd/issues/6)).
|
||||
|
||||
## Install on OpenWrt/LEDE
|
||||
|
||||
```bash
|
||||
opkg install ttyd
|
||||
```
|
||||
|
||||
> **NOTE:** This may only works for [LEDE](https://www.lede-project.org) snapshots currently, if the install command fails, compile it yourself.
|
||||
|
||||
# Usage
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ define Package/ttyd
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=Command-line tool for sharing terminal over the web
|
||||
DEPENDS:=+openssl +libjson-c +libpthread +libwebsockets-openssl
|
||||
DEPENDS:=+libopenssl +libjson-c +libpthread +libwebsockets-openssl
|
||||
URL:=https://github.com/tsl0922/ttyd
|
||||
SUBMENU:=Terminal
|
||||
MAINTAINER:=Shuanglei Tao <tsl0922@gmail.com>
|
||||
|
||||
Reference in New Issue
Block a user