ThiBsc / UnitsTool

An application to convert units

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UnitsTool

Donate using Liberapay License: GPLv3
An application to convert units
Available languages : 🇬🇧, 🇫🇷, 🇪🇸

Get it on Google Play

home languages category currency temperature

Privacy

This application does not store or use any data from the user

How to use

  • Select the category you want by touching it
  • Select your favorite unit by touching the star
  • Enter your value to convert

If the conversion.json file is updated, no need to update the application,
You just have to Pull down the list in the Home screen 👇

Contribute

Helping for a beautiful app icon

if someone can make a beautiful icon for this app, it will be very appreciate !

By completing conversion.json

This file is the core of the application, it describe what is supposed to be displayed on the Home page, on each element in the list and the conversion formula to use.

The icon key must have a value accepted on the font-awesome website

Example of a category

{
    "category": "mycategory",
    "title": "My Category",
    "icon": "tint",
    "reference": "UnityName",
    "units": [
        {
            "name": "UnityName",
            "symbol": "°C",
            "formula": "* 1"
        },
        {
            "name": "OtherUnity",
            "symbol": "°F",
            "formula": "* 1.8 + 32",
            "reverseFormula": "- 32 / 1.8"
        }
    ]
}

The formula must always have a space between the operand and the number and there is no notion of mathematical priority. It's always calculated in the order of the formula.
Also, for each operand you must have a following number and the first caracter must always be an operator (+, -, *, /).

How to run

React-native environment setup

# Run Metro in a terminal
npx react-native start
# Run the app
npx react-native run-android

Resources

docs

https://reactnative.dev/docs/getting-started
https://reactnativeelements.com/
https://reactnavigation.org/

About

An application to convert units

License:GNU General Public License v3.0


Languages

Language:JavaScript 53.0%Language:Java 19.0%Language:C++ 11.0%Language:Objective-C++ 5.8%Language:Objective-C 3.8%Language:Starlark 3.0%Language:Makefile 2.4%Language:Ruby 2.1%