• This repository has been archived on 30/Mar/2022
  • Stars
    star
    189
  • Rank 204,649 (Top 5 %)
  • Language
    TypeScript
  • Created over 4 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Create terminal applications with the power of Vue 3.

Vuminal

Create terminal applications with the power of Vue 3.

Simple example

Install vuminal and @vuminal/connector-tom

> npm install vuminal
> npm install @vuminal/connector-tom

Create index.js

const { default: Vuminal, h, ref } = require('vuminal');
const tomConnector = require('@vuminal/connector-tom');

const draw = Vuminal(tomConnector);

draw({
  setup() {
    const counter = ref(0);

    setInterval(() => {
      counter.value++;
    }, 1000);

    return () => h('row', ['current count: ', counter.value]);
  },
});

Run it!

> node index.js

How does it work?

WIP

Author

Jason Yu

More Repositories

1

keyboard-keyboard

Vue
35
star
2

vue-composition-chat

POC of how Vue's Reactivity API can be used on server side.
Vue
24
star
3

vue-vs-react

A simple website to see vue vs react in real-time (kind of, updated every half an hour)
Vue
18
star
4

ycmjason.com

CSS
17
star
5

gitignorer

Create .gitignore for you with your very own settings.
JavaScript
15
star
6

perfect-colour

Do you have perfect colour?
Vue
14
star
7

msg-generator

Generates legitimate, but a little bit troll, message base on given type.
JavaScript
11
star
8

nist-randomness-test-suite

A test suite random number generators.
JavaScript
10
star
9

fsmify

A simple finite state machine library with first class typescript support.
TypeScript
7
star
10

frograming

A frogger game built to introduce programming to everyone.
Vue
7
star
11

mjcal

TypeScript
6
star
12

ssas-2018

Secret Santa Allocation System rewritten (again).
Vue
6
star
13

asyncLimit

Limit the number of concurrent asynchronous calls to a function.
JavaScript
5
star
14

linkshelf

A command-line tool to generate your own "linktree-like" website.
TypeScript
3
star
15

vuejs30

Vue
3
star
16

fires

Firestore simplified.
JavaScript
2
star
17

thize

Add st/nd/rd/th to your number.
JavaScript
2
star
18

jayso.nu

2
star
19

dotfiles

Shell
2
star
20

filesys-db

An npm package which handles json files in higher level of abstraction.
JavaScript
2
star
21

bouncy-forever

Wiring up bouncy and forever to allow multiple domain names to be mapped to different servers listening on different ports.
JavaScript
2
star
22

svg-to-img

Just another svg-to-image library, that works in the browser and node.
JavaScript
2
star
23

grab-lyrics

Fetch and grab lyrics easily.
JavaScript
1
star
24

vite-issue-reproduction-scoped-nested-css

This is a minimal reproduction of the issue where scoped nested style are not correctly targetted.
HTML
1
star
25

ycmjason.codes

1
star
26

elsa3

Elsa rebuilt with angular 2.
TypeScript
1
star
27

jaysonu.com

TypeScript
1
star
28

static-include

Statically add tags to your html files.
JavaScript
1
star
29

birthday

Simple program that shows when is the next 5/5 friday.
Python
1
star
30

mjcalc

Mahjong Score Calculator
Vue
1
star
31

flutter-todo-tryout

Just a try-out with flutter as it announced 1.0 recently! Very fun!
Dart
1
star
32

teddy.js

Allow dynamic loading of views injecting into html elements.
JavaScript
1
star
33

vite-issue-imported-css-not-transformed

HTML
1
star
34

mahjongCalculator

JavaScript
1
star