A Typescript CLI text editor based on Kilo (https://viewsourcecode.org/snaptoken/kilo/) and Hecto (https://www.flenker.blog/hecto/)
Go to file
2023-11-22 11:37:31 -05:00
src Require confirmation for quitting a 'dirty' document 2023-11-22 11:27:46 -05:00
.editorconfig Rough start to Deno runtime implemenation 2023-10-27 16:02:54 -04:00
.gitignore First commit 2023-10-27 11:51:04 -04:00
bunfig.toml Refactor tests to be consistent for both runtimes 2023-11-16 20:57:21 -05:00
coverage.sh More tests 2023-11-16 16:00:03 -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 setup CI build 2023-11-22 11:37:31 -05:00
justfile Basic vertical scrolling 2023-11-20 11:12:22 -05:00
package.json Extract common interfaces out of runtime-specific adapters 2023-11-08 15:53:14 -05: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