An OSS application to manage encrypted giftcards.
WIP but functional if you like to fiddle.
- Visit https://giftz.framp.me/keys/new
- Generate a key
- Add your cards data in the textarea (or drag a file onto it) following the format:
[{
"barcode": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATgAAABkAQMAAAAoir4RAAAABlBMVEX///8AAABVwtN+AAAAAXRSTlMAQObYZgAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAEpJREFUSIntyrEJADEIQNGAreAqwrVCVhccwFUObA+SKa77r35rrPw1kRDNnKoO8/BWmdKzY2ueJ79ePB6Px+PxeDwej8fj8X57Fyyp9/PFewItAAAAAElFTkSuQmCC",
"number": "6341753502310869272",
"pin": "1234",
"amount": 20,
"currency": "£",
"id": "1"
}]
- Barcode can be:
- A base64 encoded image
- A value to be rendered with CODE128
- An object
{ value, ...options }
to configure JsBarcode
- Get the
/keys/#....
link from the bottom input, send it safely to your target device - Get the
/cards/#....
links from the bottom textbox, store them safely and send them to your device of choice without worrying about safety (a man in the middle will need to have the key from the previous step or access to your device to decrypt them)
This project was bootstrapped with Create Solid.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify