Skip to content

Repository files navigation

Siffra

Siffra is a lightweight, fast, and accurate calculator with support for dimensional analysis built with GPUI and Rust.

Siffra screenshot

Installation

Prebuild Binaries

There are provided prebuilt binaries for all platforms in the Releases tab.

The macOS app is ad-hoc signed because I do not currently have an Apple Developer Program membership. After attempting to open the app and closing the warning, explicitly allow it under System Settings → Privacy & Security → Open Anyway.

Building from source

To build Siffra from source, you will need to have Rust installed.

You can then clone the repository and run Siffra with the following command:

cargo run

Linux

Linux has a few additional dependencies that need to be installed before building Siffra. You can install them with the following command:

sudo apt-get install -y libxkbcommon-dev libxkbcommon-x11-dev libxcb-shape0-dev libxcb-xfixes0-dev libgtk-3-dev libwebkit2gtk-4.1-dev libssl-dev

Packaging

For a native installer, install cargo-packager and run cargo packager --release --packages siffra-desktop.

Native release artifacts are built for macOS, Windows, and Linux. Please open an issue if you have any problems running Siffra on your platform.

Planned Features

  • Basic calculator functionality
  • Basic natural language support
  • Syntax highlighting
  • Variables support
  • Dimensional analysis
  • Unit conversion
    • Basic units
    • Dimensions w/ multiple units + exponents (ie. m/s^2)
    • Derived units (ie. Jules, Newtons, etc.)
    • Absolute units (ie. Temperature, time/date, etc.)
    • Stoichiometry
    • Full support for all SI units (including derived)
    • Currency units
  • Error handling
  • Support for saving calculations
  • Updater with support for auto-updating
  • Multi-window support
  • Custom defined functions
  • Preferences page
  • Plugin + theme system

Contributing

Any contributions to Siffra are welcome! If you would like to contribute, please see CONTRIBUTING.md for guidelines.

Supporting the project

If you find Siffra useful to you and would like to support my work, you can do so by buying me a coffee using the button below. Thank you!

Buy Me A Coffee

License

Siffra is licensed under the MIT License

About

A fast and accurate calculator app written in Rust

Topics

Resources

Contributing

Stars

52 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages