Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tmpim/KristWeb2
Web wallet for Krist written in React
https://github.com/tmpim/KristWeb2
krist
Last synced: about 2 months ago
JSON representation
Web wallet for Krist written in React
- Host: GitHub
- URL: https://github.com/tmpim/KristWeb2
- Owner: tmpim
- License: agpl-3.0
- Created: 2020-02-05T16:03:42.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-29T07:28:25.000Z (6 months ago)
- Last Synced: 2024-10-30T05:42:07.251Z (about 2 months ago)
- Topics: krist
- Language: TypeScript
- Homepage: https://krist.club
- Size: 2.15 MB
- Stars: 12
- Watchers: 6
- Forks: 9
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-computercraft - KristWeb2 - A web wallet for Krist, written in React. (Non-Lua programs / Bridging)
README
# KristWeb v2 [![Donate on PayPal](https://img.shields.io/badge/PayPal-donate-0079C1?logo=paypal&style=flat-square)](https://paypal.me/lemmmy) ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/tmpim/KristWeb2/Deploy%20dev%20build?label=dev%20deploy&style=flat-square) ![GitHub issues](https://img.shields.io/github/issues/tmpim/KristWeb2?style=flat-square) ![GitHub pull requests](https://img.shields.io/github/issues-pr/tmpim/KristWeb2?style=flat-square) ![GitHub package.json version](https://img.shields.io/github/package-json/v/tmpim/KristWeb2?style=flat-square) ![GitHub](https://img.shields.io/github/license/tmpim/KristWeb2?style=flat-square)
Rewrite of the Krist Web Wallet, in React. This is a fully clientside Krist
wallet that only needs to communicate to the Krist node itself. It securely
saves wallets encrypted in your browser's Local Storage, so you don't have to
type in wallet passwords ever again!### Building (for development)
```sh
git clone https://github.com/tmpim/KristWeb2
cd KristWeb2yarn install
npm start # Run the development server
```### Building (for production)
```sh
git clone https://github.com/tmpim/KristWeb2
cd KristWeb2
yarn install
yarn run full-build # Build the production files
```### Contributing
As per tmpim convention, this project uses
[Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) as a
standard for commit messages.### Contributing translations
Translation files are currently created manually in the
[i18next JSON format](https://www.i18next.com/misc/json-format), with support
for [JSON5 syntax](https://spec.json5.org/). You can find existing translations
in [`public/locales`](public/locales). The
[English (GB) translation](public/locales/en.json) is used as the fallback.Language files are named with
[IETF language tags](https://en.wikipedia.org/wiki/IETF_language_tag). Short
tags (e.g. `en` instead of `en-GB`) are preferred.**IMPORTANT:** If you are adding a new language, you **must** add a listing for
the language with the English name, native name, a country code (for the flag)
and the contributors list to
[`src/__data__/languages.json`](src/__data__/languages.json). It's not terribly
important, but the list should be kept in alphabetical order **by language
code**.The keys `antLocale`, `dayjsLocale` and `timeagoLocale` are all optional keys
that refer to the locale names from the respective libraries. If the library
does not support your language, create an issue on this repo or mention it in
your PR, because I can add a simple system to support custom translations for
these libraries if it is needed, though you should also PR to the libraries
themselves.List of supported locale codes for each library:
- `ant-design` - https://ant.design/docs/react/i18n
- `dayjs` - https://github.com/iamkun/dayjs/tree/dev/src/locale
- `react-timeago` - https://github.com/nmn/react-timeago/tree/master/src/language-stringsThe library will automatically detect the language from your browser to use, but
for the sake of testing, you can override it by running the following command in
the developer console (Ctrl+Shift+I):```js
localStorage.i18nextLng = "en";
```If you need any help with specific i18next features (e.g. handling plurals),
don't hesitate to contact Lemmmy.### Donate
If you like my work, and want to help me with this hobby project and many more
in the future, please consider [donating](https://donate.lemmmy.pw).### License
**Copyright (c) 2020-2022 Drew Lemmy**
This project is licensed under the AGPL v3 license. See LICENSE.txt for more.