- 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):
brew install ttyd
```
-### For Linux users
+## Install on Linux
Ubuntu 16.04 as example:
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
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>