Coder Social home page Coder Social logo

canbax / hasap Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 1.0 11.25 MB

A web-based, general-purpose math calculator. Aims ultimate user-friendliness on real-life calculations. Free, ads-free, and, open-source.

Home Page: https://canbax.github.io/hasap/

License: MIT License

JavaScript 2.62% TypeScript 78.76% CSS 2.38% HTML 16.25%
calculator calculator-application calculator-javascript math mathematics angular angular-material pwa progressive-web-app calculations math-calculator math-calculation calculate calculation calculator-app

hasap's Introduction

Hasap

A web-based general-purpose math calculator. Aims ultimate user-friendliness on real-life math calculations. Free, ads-free, and, open-source. Currently, supports Turkish and English.

https://canbax.github.io/hasap/

Türkçe (Turkish)

Web tabanlı, genel amaçlı matematiksel işlemci. Günlük hayattaki hesaplamalarda fevkalade kullanıcı dostu olmayı gaye edinmiştir. Ücretsiz, reklamsız, açık kaynaklı.

Features

Wide Variaety of Functions

This application uses math.js for calculations. math.js has many functions. You can see list of functions from user-interface.

Automatic Calculations (You DO NOT NEED to press =)

As you type mathematical expressions, the results are calculated automatically after you stopped typing. You don't need to press any button to calculate.

Four Modes

There are 4 different modes. All the modes have their own screen keyboard.

In programmer mode you can make calculations in 4 different bases and can see the results in 4 different bases.(hexadecimal, decimal, octal, binary) You can copy the results of calculations in 4 different bases.

In date & time mode you can make date-time calculations. For example, let's say you want to know how much time it is 13800 seconds minus 10000 milliseconds. You can use autocomplete for selecting time units like in the image below.

Here you can also make date-time calculations. Let's say today is 4 of April 2020. What is the date after 90 days. It is 3 of July 2020.

You can change your theme

Copy-paste & Others

You can copy-paste input. You can copy the results of the calculations. You can ignore commas in calculations. You can set the number of digits in the result. You can set the precision in results.

Use as an App

Since Hasap is a progressive web app, you can download it and use it as an app. If you download it as an app, you can use it without the Internet.

I didn't consider mobile experience. So it is not good in mobile but it can be used anyway.

Yet Another Calculator?

I find the tools that I use frustrating and not functional enough. For example, Windows 10 has a great calculator. It has more functionality than this one. I definitely inspired by it.

  • But you can not copy-paste whole strings to it.
  • Let's say I did a long calculation like 2^4-145+4*23. Why I can't change 145 to 146?
  • I really like button pressed effect on-screen keyboard. But there is a small glitch which I found a bit annoying. When I press a button continuously It is not shown pressed continuously, there is a small glitch.

I used google as a calculator a lot. You can copy-paste text and change the string from the middle of it. But When I changed angle unit to degree why the results aren't changing.

I also used duckduckgo a lot. It wasn't good with trigonometric functions either.

For Developers

Built with Angular CLI version 9.1.0. Use npm i to install dependencies. ng s to run in development mode. I also use angular-cli-ghpages for deploying my app to github-pages branch using the command ng deploy --base-href=/hasap/. Thanks for this useful library.

I hope this tool would be handy and useful for people.

hasap's People

Contributors

canbax avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

yd-915

hasap's Issues

don't use chips in date & time mode they make things more complex

We use chips for showing human-readable formats for date times. For example
image

What I really want is to combine chips with standard inputs. Check if there is a library for that. If that does not exist how about building one?

We might use some kind of rich text editor for this purpose

Extended mode keyboard is lost when history is toggled

Assalamu alaykum,
When I toggle the calculation history, my calculator keyboard is switched to the basic calculator layout even though the extended keyboard mode is selected in the navbar. Example screenshot is below:

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.