Skip to content
forked from vadimdemedes/ink

🌈 React for interactive command-line apps (fork for deno)

License

Notifications You must be signed in to change notification settings

hugojosefson/ink

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ink for deno

An attempt at making ink work with Deno.

For now, you can run example.tsx using the script ./run-example.

TODO

1. Proof of concept

This PoC is for seeing how some basic functionality from ink can be made to work with Deno.

  • Strip ink of everything but the code.
  • deno fmt
  • Make the syntax pass ./check-syntax.
    • If necessary, fork dependencies and make them work with Deno.
    • If necessary, remove dependencies that are not needed if they cause any trouble.
    • [?] Replace process.stdin etc with Standard Streams.
  • [?] ????
  • Hopefully, get some basic ink functionality running with Deno.
  • Fix detection of color support level.
  • Try using this a little more, see where the limits are.

2. Contribute upstream

  • […] Evaluate if/how relevant parts of the PoC can be implemented properly upstream.
  • Refactor out Node.js specific things, replace with a Standard Streams based API.

About

🌈 React for interactive command-line apps (fork for deno)

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • TypeScript 99.8%
  • Shell 0.2%