Skip to content

bhr/Terminal

 
 

Repository files navigation

Terminal

Carthage compatible Swift Package Manager compatible

What is this

Terminal Emulator for iOS. based on hterm.js with WKWebView

This is not ssh client. only emulate terminal output.

If need ssh, you could use NMSSH/NMSSH library. Please see example app.

Demo

nyancat sl cmatrix vim

Features

  • supports iOS 11 ~ (iOS 12 or above recommended)
  • supports Interface Builder creation
  • supports GUI selection, select all, copy, paste
  • supports hardware keyboard input
  • supports CJK IME (little buggy...)

Technical Detail

Please see my blog post (written in Japanese).

How to use

See Example Appication.

How to build Example App

swiftlint and carthage required

brew install swiftlint carthage

Clone Repository and prepare

git clone [email protected]:dnpp73/Terminal.git

cd Terminal/Example

carthage bootstrap --platform iOS --no-use-binaries

open TerminalExample.xcodeproj

If you want to run on a real devices, change the Team because of code sign problem.

sshd with password authentication?

I recommend using Docker. See Dockerize an SSH service

dnpp73/chef_cutting_board is convenient.

Carthage

https://github.com/Carthage/Carthage

Write your Cartfile

github "dnpp73/Terminal"

and run

carthage bootstrap --cache-builds --no-use-binaries --platform iOS

or

carthage update --cache-builds --no-use-binaries --platform iOS

Respect

License

MIT

About

Terminal Emulator for iOS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 87.3%
  • Swift 12.0%
  • Shell 0.4%
  • Ruby 0.1%
  • CSS 0.1%
  • HTML 0.1%