puter/packages/terminal
Sam Atkins 4ef3e53de3 fix(Terminal): Accept input from Chrome on Android
Xterm.js produces two kinds of events: onKey and onData. On a desktop,
these are effectively the same, but on mobile, IME inputs produce data
but not key presses. By listening to onData instead of onKey, we get
that input.

With some experimentation, I also found that we don't need the code to
handle enter, home, end, or Ctrl-Shift-V. All of these function as
expected without that code, so we can remove it and simplify this
further. :^)
2024-05-14 16:10:30 +01:00
..
assets chore: Update xterm 2024-05-14 16:10:30 +01:00
config Copy over terminal 2024-04-12 20:53:32 -04:00
doc Copy over terminal 2024-04-12 20:53:32 -04:00
src fix(Terminal): Accept input from Chrome on Android 2024-05-14 16:10:30 +01:00
.gitignore Copy over terminal 2024-04-12 20:53:32 -04:00
LICENSE Copy over terminal 2024-04-12 20:53:32 -04:00
local.json5 Copy over terminal 2024-04-12 20:53:32 -04:00
notalicense-license-checker-config.json Copy over terminal 2024-04-12 20:53:32 -04:00
package-lock.json fix(security): update follow-redirects 2024-04-24 15:23:47 -04:00
package.json chore: Update xterm 2024-05-14 16:10:30 +01:00
README.md Update README.md files for monorepo'd projects 2024-04-12 23:54:41 -04:00
rollup.config.js chore: Add missing imports for node:process 2024-05-02 11:21:50 +01:00
run-http.json5 Copy over terminal 2024-04-12 20:53:32 -04:00
run-https.json5 Copy over terminal 2024-04-12 20:53:32 -04:00
run-phoenix-http.json5 Copy over terminal 2024-04-12 20:53:32 -04:00
run.json5 Copy over terminal 2024-04-12 20:53:32 -04:00

HiTIDE logo

Puter Terminal Emulator

« LIVE DEMO »

Puter.com · Discord · Reddit · X (Twitter)

animated demo


This is a Puter-compatible pure-javascript terminal emulator built on xtermjs. It integrates with an external shell provider. We develop and test the terminal emulator alongside Puter's shell: phoenix.

The Terminal as a Whole

This terminal emulator alongside phoenix give you an AGPL-3.0-licensed pure-javascript terminal experience which integrates with Puter's filesystem, AI services, and more.

Here are a few examples of what you can do:

  • ai "write me a story"
  • txt2img "a blue computer on a cloud" > puter.png
  • neofetch
  • echo $(echo "command substitution")
  • cat example.txt | grep "find me"
  • cat example.json | jq "name"