Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

103 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

convi

A macOS text calculator and converter pad inspired by Numi, written in C with raylib. Type on the left side of the pad and conversion results appear on the right.

Preview

How it works

  1. Every changed line shows ... while it waits for the next conversion pass
  2. Converters from src/converters/ are tried one by one until one recognizes the line
  3. The result is drawn right-aligned next to the divider and refreshes every second
  4. Lines no converter recognizes show N/A

Adding a converter is one convert_<name> file in src/converters/ plus one CONVERTER(name) line in src/converters/converters.def — the registry and build pick it up automatically.

Build

make release
./build/convi

Development

Dev build with hot reload — app logic lives in a dylib:

make dev
./build/main

Press Cmd+Shift+R in the running app to rebuild and reload it.

Usage

Timezone converter:

10am toronto to warsaw
2:30 pm hkt in berlin
time in tokyo
new york time

Dependencies

raylib via pkg-config. macOS only (links against Cocoa, IOKit and OpenGL frameworks).

About

A macOS text calculator and converter pad inspired by Numi, written in C with raylib.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages