Code Monkey home page Code Monkey logo

numbr's Introduction

Numbr logo Numbr

Numbr โ€“ a short for number.

Try it out on numbr.dev or as a Chrome extension.

What is it?

Numbr is an innovative, web-based application and Chrome extension designed to seamlessly integrate numbers and calculations into your browsing and note-taking experiences. It simplifies tasks such as arithmetic operations, currency conversions, and more in a user-friendly manner.

Features

Here are some of the features that make Numbr a versatile tool:

  • Arithmetic Operations: Add, subtract, multiply, divide, or calculate percentages on the fly.
  • Currency Support: Recognizes major currency symbols and ISO codes. Convert between currencies or cryptocurrencies with ease.
  • Suffix Support: Use 'k' for thousands and 'M' for millions to simplify your large numbers.
  • Context Awareness: Words around and between calculations are ignored, allowing you to add meaningful context to your calculations.
  • Variable Assignment: Assign values to variables and use them throughout your calculations.
  • Summing Feature: Easily calculate the sum of different lines of numbers.
  • Text Filtering: Non-highlighted numbers in a line of text are treated as non-numerical text, making your calculations accurate and clear.
  • Sharing: Share your calculations by simply copying the current link address, allowing for easy collaboration.

Documentation

Documentation

Become a sponsor

Every line of code in my repositories ๐Ÿ“– signifies my unwavering commitment to open source ๐Ÿ’ก. Your support ๐Ÿค ensures these projects keep thriving, innovating, and benefiting all ๐Ÿ’ผ. If my work has ever resonated ๐ŸŽต or helped you, kindly consider showing love โค๏ธ by sponsoring. ๐Ÿš€ Sponsor Me Today! ๐Ÿš€

numbr's People

Contributors

antonmedv avatar cuamckuu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

numbr's Issues

Small Issue?

Not sure if it's an issue or intended.

But for new users it may scare them if they made a calculation and when you click new document, it opens in the same tab.

My suggestion is to make New Document always open in New Tab.

By the way Love what you done!!!

Request For Releasing Next Update(s)

Would hate to see a daily used app break when it has become something I rely on daily and link to from my notes app.

I know the code is open source, I did not bother looking to see if there have been any issues when releasing or if there are any test in code / test driven development implemented so feel free to close this issue if this will not be an actual issue when releasing.

My suggestion is to have a separate /new-release/GENERATED_URL page or something that can that some of us can start testing and give you feedback on before making an official release, that way any calculations we already have will not break from the new release when we go back to look at them.

Then when the /new-release is stable you can release it as the official release without any problems.

Standalone version

I would love to use a standalone version of the app without have to use as a website or as an extension.

Missing License

Just discovered this wonderful tool, but noticed the license is missing. If this is intentional please feel free to close this.

Install as App has menu button overtop of answer

Numbr floating menu overlap

Installed as an app using Chrome's feature. When the app is brought down to a size that resembles the standard calculator in Windows (which I would like to replace as my go-to with Numbr), the menu button overlaps the answer space. You can hit the carriage return a couple of times to bring the answer line above the button, but this makes your doc ugly in the process, as you continually would have to do this.

Suggestion: make the menu have an option to be at the top (anywhere), instead of a promoted action button.

Thanks for considering it.

Prime numbers?

Hi,

Thanks for numbr. It's a neat idea and I think you will do well with it.

I was wondering how do I ask to list all prime numbers from X and below?
Is that possible?

Thanks!

Percentage Operators - OFF, ON, AS A

Hi Anton,

Hope you are doing well.

I am happy I stumbled across this in my persuit of having Numi on Windows and mobile.

As you already handle the OF operator, I would ask if you had plans to include the OFF, ON and AS A operators in future?

For example:
10% OFF 100 = 90 (100 - (10% * 100))
10% ON 100 = 110 (100 + (10% * 100))
10 AS [a] % OF 100 = 10% (100 / 10)
10 AS [a] % OFF 100 = 90% ((100 - 10) / 100)
110 AS [a] % ON 100 = 110% ((110 - 100) / 100)

Kind regards,
Chris

Add Support for Multiple Number Formats (Comma or Point as Decimal Separator)

I'm writing to request enhanced support for various number formats in Numbr, particularly for the use of the comma as either a decimal separator or a thousands separator. Currently, the platform seems to predominantly support the format where a comma serves one specific role (as a thousands separator), which aligns with the practices of several regions. However, a significant portion of the global population uses a format where the comma acts as a decimal separator, leading to potential confusion and data interpretation errors.

I propose the introduction of functionality that allows users to choose their preferred number formatting style. This could involve toggling between:

  • Point as a decimal separator (and comma for thousands separator)
  • Comma as a decimal separator (and point for thousands separator)

Ability to set default currency

Great app,
I live in Australia and whenever I do currency values such as $3.50 it assumes that it's USD.
I'd love a way to either hide the 'USD' bit or specify in options somewhere to assume it's AUD unless otherwise stated.

I do some quick formulas to explain things and screenshot the results with working and the 'USD' bit throws them off even though it's irrelevant to the calculation.

Would Love to Contribute

I'd love to help with the development of this project, but the code isn't representative of numbr.dev. Is there any way to run the core in some sort of test harness or do you intend on checking in the full code base soon?

Autocomplete variable names

Would be pretty cool if we could autocomplete variable names as we were typing, e.g. if a variable name is "mySalary" if I start typing "my" a dropdown menu would appear with "mySalary" as an option.

Add support for logarithms

Numbr is awesome. Muchas gracias for it.

I was doing some cryptography, trying to calculate how some low probabilities compare to the number of seconds until the earth is consumed by the sun:

https://numbr.dev/#KwGgDB6RYAQBQDMCWA3AprARsgNr5AewDsBKWAT3QEMAnAZ1gFdiAXPWel2AYxK4C26RjVqsAFgCgAzADZgsACbUKjAA7palUZIBMAFljjCTBrA1blFSbLgDkxJq2HnNRk7Rtx66PsUXqbvaOzpKwgGfkALQAjCC2gOfksABUETFxYImcviQBrlrGpmFRsdLpGcmp+iAGiT5+uRZKKkVpAByyIPoQiSlRHXLAtdn+gVpUdC0lscByUOW9ka0goDBzc5l1OYzs+JzcfoIuohKSLbog0cAA7HGtYGurj92wsMiMl1ewAI5M1Iq0eAIJFIklwxHgqViH1u9yesOgzxBkiAA

(The answer is about 157 quadrillion seconds, in case you were wondering.)

But I wanted to convert that result to base-2 or base-10. Seems like there's currently no support for log() or ln() functions.

Would love to see them added! ๐Ÿ™Œ

Keyboard shortcut for inserting result link

It'd be super useful if I could insert a link to a previous result (not assigned to a variable) with just the keyboard, without having to use the mouse. For instance, maybe by holding Alt while using Up/Down to go to the result, then releasing Alt to insert the link.

Share Document Link Goes to Old Version

If I share a pretty URL from the "Share document" option then make more changes to the doc, the link goes to the doc without the subsequent changes. Ideally, the link would go to the latest version of the doc.

If that's difficult, my specific scenario isn't actually sharing but just needing a stable link to an ongoing scratchpad. Perhaps that could be handled more easily by some way to store a doc's ongoing content in web storage?

What do t.calculatePrimeFactorization ?

What do t.calculatePrimeFactorization obfuscated code ? (in main.js)
And why obfuscating code ?

e variable ?

KCk9Pnt2YXIgcj0wLG89cGVyZm9ybWFuY2Uubm93KCk7ZnVuY3Rpb24gZShlKXtmb3IodmFyIGY9W10sbj1bXSxhPU1hdGguc3FydChlKSxpPTI7aTxlO2krKylmLnB1c2goaSk7Zm9yKGk9ZlswXTtpPGE7aT1mWzBdKXtmb3IodmFyIHA9aSxzPWk7cDxlO3ArPWkpe2xldCByPWYuaW5kZXhPZihwKTstMSE9PXImJmYuc3BsaWNlKHIsMSl9bi5wdXNoKHMpfWYudW5z

second n variable ?

GlmdChuKSxyPXBlcmZvcm1hbmNlLm5vdygpLW8sd2luZG93LnByaW1lTnVtYmVycz1mfWZvcig7cjw4ZTI7KWUoMWUyKTt9

if not "number.dev" domain, this code may run, why ?

Formatting Issue

Sometimes I prefer to format a variable like the following:


Total of variable1 =
    someNumber

Total of variable2 =
    someNumber

It shows the results on the right side

The problem is when the variable gets referenced that they do not show the referenced value.

Here is an example

Scaling of long calculation result using B, M, K

If the result is longer than 5-6 digits if would be great to replace trailing 3 or 6 digits with B, M or K. Would be great to control it manually via: result in M = first value * second value

HTML

Would it be possible to have an HTML dir added to the repo. So we can download and run this on a server. Much the same as you have on https://numbr.dev ?

Add support for in-line comments

Hi, @antonmedv. Thank you for your amazing tool. I'd like to ask for a way to encapsulate a String that can contain any type of character.

The following image shows the current scenario implemented:

image

It would be nice if, in both cases, the things inside { } - or any other special character - were ignored.

Download as PDF option

Hi, are there any plans to add a PDF download option? The shareable link (long and short) is nice, but sometimes it might be useful to keep a copy of the document in PDF, for example.

selfhosting instructions/files?

Hi,
Do you have any plans on releasing the whole web app as oss software, or it will be limited to the core libs you already shared in this repo? I'm interested and I was wondering if I should try to hack up something or not, I don't want to hijack your work.

Thanks

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.