https://github.com/jehna/calc-o-pad
A notepad calculator
https://github.com/jehna/calc-o-pad
Last synced: 5 months ago
JSON representation
A notepad calculator
- Host: GitHub
- URL: https://github.com/jehna/calc-o-pad
- Owner: jehna
- License: mit
- Created: 2022-09-07T20:26:41.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-08T11:59:43.000Z (over 2 years ago)
- Last Synced: 2024-08-04T10:07:51.532Z (9 months ago)
- Language: Dart
- Homepage: https://calc-o-pad.thejunkland.com
- Size: 550 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
# Calc-o-pad
> Notepad with calculatorThis is a note taking app that automatically calculates the result of any math
expression you type in.## Try it out!
Visit the website:
https://calc-o-pad.thejunkland.com/
## Local development
This project is developed using Flutter, so you can run the app in your browser by running:
```shell
flutter run -d chrome \
--dart-define=FIREBASE_API_KEY=... \
--dart-define=FIREBASE_APP_ID=... \
--dart-define=FIREBASE_MESSAGING_SENDER_ID=... \
--dart-define=FIREBASE_PROJECT_ID=... \
--dart-define=FIREBASE_AUTH_DOMAIN=... \
--dart-define=FIREBASE_STORAGE_BUCKET=... \
--dart-define=FIREBASE_MEASUREMENT_ID=...
```This downloads all the dependencies and runs the app in your browser.
You'll need to create your own Firebase project and get the API keys from there.
### Building
To build the app, run:
```shell
flutter build web \
--dart-define=FIREBASE_API_KEY=... \
--dart-define=FIREBASE_APP_ID=... \
--dart-define=FIREBASE_MESSAGING_SENDER_ID=... \
--dart-define=FIREBASE_PROJECT_ID=... \
--dart-define=FIREBASE_AUTH_DOMAIN=... \
--dart-define=FIREBASE_STORAGE_BUCKET=... \
--dart-define=FIREBASE_MEASUREMENT_ID=...
```This will create a `build/web` directory with the app.
### Deploying
At the moment deployments are handled automatically by Netlify.
## Features
The following features have been prioritized in the app:
* Fast startup time
* Opens up in an empty note when you open the app
* Basic "back of the napkin" math operations## Contributing
If you'd like to contribute, please fork the repository and use a feature
branch. Pull requests are warmly welcome.## Licensing
The code in this project is licensed under MIT license.