README
vincent0700-cli
This is an experimental cli tool to show my profile. Welcome!
▩ Preview
▩ Usage
Tips: Your NodeJs version should be greater than v12 to run this command.
$ npx vincent0700-cli
I have tested it successfully on my macOS terminal. If you're on Windows, perhaps you need to use Windows Terminal instead of cmd.exe.
It's just experimental and don't be too critical (ノへ ̄、) If you can't use it, don't be worry. You can also find me through Telegram and Gmail.
▩ How it works
I have serialized each frame of the GIF and saved it as binary file. Then I use url-loader to load each frame and put base64 data into source file. So that i don't need to package image libs into my bundle to parse gif at runtime. It only depends on chalk. So the next step is to render frame by frame.
I use process.stdout.cursorTo(0, 0)
to draw each frame instead of console.clear()
to fixed screen splash while repainting. Here is the wiki: