Swiftpack.co - Package - dnpp73/Terminal

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

dnpp73/Terminal

Terminal Emulator for iOS

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 git@github.com: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