A Typescript CLI text editor based on Kilo (https://viewsourcecode.org/snaptoken/kilo/) and Hecto (https://www.flenker.blog/hecto/)
Go to file
Timothy J. Warren 88bf3da4e7
Some checks failed
timw4mail/scroll/pipeline/head There was a failure building this commit
Use Tsx/node implementation for file/terminal_io in Bun runtime
2024-07-09 10:23:25 -04:00
src Use Tsx/node implementation for file/terminal_io in Bun runtime 2024-07-09 10:23:25 -04:00
.editorconfig Rough start to Deno runtime implemenation 2023-10-27 16:02:54 -04:00
.gitignore Update gitignore and generated file cleanup 2023-11-22 17:20:16 -05:00
bunfig.toml Refactor tests to be consistent for both runtimes 2023-11-16 20:57:21 -05:00
coverage.sh Update gitignore and generated file cleanup 2023-11-22 17:20:16 -05:00
deno.jsonc Basic file opening and display. Off-by-one bug skipping first line, though 2023-11-14 15:53:45 -05:00
Jenkinsfile Attempt to fix Deno CI tests 2024-06-26 15:46:08 -04:00
justfile Add new runtime for tsx 2024-07-05 15:51:30 -04:00
package.json Add new runtime for tsx 2024-07-05 15:51:30 -04:00
README.md Move some things around to more logical places, attempt to set up an error log file 2023-11-16 11:10:33 -05:00
tsconfig.json Extract common interfaces out of runtime-specific adapters 2023-11-08 15:53:14 -05:00

Scroll

Making a text editor in Typescript based on Kilo (Script + Kilo = Scroll). This runs on Bun (v1.0 or later) and Deno (v1.37 or later).

To simplify running, I'm using Just.

  • Bun: just bun-run [filename]
  • Deno: just deno-run [filename]

Development Notes

  • Runtime differences are adapted into a common interface
  • Runtime implementations are in the src/deno and src/bun folders
  • The main implementation is in src/common