1
0
mirror of https://github.com/kremalicious/blowfish.git synced 2024-11-21 17:26:58 +01:00
🐡 Simple Electron-based desktop app to retrieve and display your total Ocean Token balances. https://getblow.fish
Go to file
dependabot[bot] 14eb26462b
Bump axios from 0.21.1 to 0.23.0 in /site (#305)
Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.23.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.23.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-25 10:36:27 +01:00
.github package updates 2021-01-30 17:47:53 +01:00
site Bump axios from 0.21.1 to 0.23.0 in /site (#305) 2021-10-25 10:36:27 +01:00
src fix production URL 2021-01-30 18:07:43 +01:00
tests fix eslint setup 2021-01-30 15:09:01 +01:00
.env.example get balance from chain 2020-02-26 21:04:40 +01:00
.eslintrc fix eslint setup 2021-01-30 15:09:01 +01:00
.gitignore migrate to nextron 2020-10-10 17:04:59 +02:00
.prettierrc project organisation, fix build & test runs 2020-02-09 17:16:10 +01:00
babel.config.js fix eslint setup 2021-01-30 15:09:01 +01:00
CHANGELOG.md Release 1.6.0 2020-10-10 17:59:24 +02:00
electron-builder.json jobs tweaks, run build 2021-01-30 15:48:34 +01:00
LICENSE release process with release-it 2019-05-28 01:53:45 +02:00
nextron.config.js migrate to nextron 2020-10-10 17:04:59 +02:00
package-lock.json Bump eslint-plugin-react from 7.22.0 to 7.26.1 (#299) 2021-10-01 09:48:37 +02:00
package.json Bump eslint-plugin-react from 7.22.0 to 7.26.1 (#299) 2021-10-01 09:48:37 +02:00
README.md remove Travis 2021-01-30 16:35:41 +01:00

Blowfish

🐡 Simple Electron-based desktop app to retrieve and display your total Ocean Token balances.

interface

Made with ♥ by Matthias Kretschmann

Say thanks with OCEAN or ETH: 0xf50F267b5689b005FE107cfdb34619f24c014457
Say thanks with BTC: 3DiHNMt875UWa2j73qFpr3cVB9foFhYArc



Features

  • show Ocean Token balances from a list of Ethereum account addresses
  • show a total balance of all account balances
  • convert those balances against multiple currencies
  • re-fetches everything automatically every minute
  • balances are fetched directly from the OceanToken contract on-chain via infura.io & ethjs
  • spot prices are fetched from coingecko.com API
  • detects dark appearance setting and switches to dark theme automatically (macOS only)
  • detects system accent color and uses it as primary color (macOS & Windows only)
  • Touch Bar support (macOS only)
  • detects system locale for number formatting
  • currently highly optimized for macOS, your mileage on Windows or Linux may vary

Download

You can download pre-built binaries for macOS, Linux, and Windows from the Releases page.

The binaries are not code-signed so opening them on macOS will result in a warning. To be able to get around this warning:

  1. Right-click on the app icon, and choose Open
  2. In the dialog, click Open

Alternatively, you can build the app on your system.

Development

The main app is a React app authored with Next.js in src/renderer/ wrapped within an Electron app defined in src/main/.

Clone, and run:

# Clone this repository
git clone git@github.com:kremalicious/blowfish.git
cd blowfish

# Install dependencies
npm install
# Run the app in dev mode
npm start

Configuration

The app has a settings screen where you can add your account addresses.

When building the app yourself, you can configure more in the src/config.js file:

Key Description
conversions Array defining the currencies the Ocean balance is converted to. Every currency listed here will appear in the ticker buttons.
refreshInterval Defines the interval prices and balances are refetched.
oceanTokenContract Contract address of the Ocean Token. You should not change this.

Build packages

npm run build

Will build and package the app into platform specific packages for macOS, Windows & Linux.

Creating Releases

From a clean main branch, running the release task will do the following:

  • bumps the project version
  • creates a Git tag
  • commits and pushes everything
  • creates a GitHub release with commit messages as description
  • adds freshly build binaries for macOS, Windows & Linux as assets to each GitHub release
npm run release

For the GitHub releases steps a GitHub personal access token, exported as GITHUB_TOKEN is required. Setup

License

The MIT License (MIT)

Copyright (c) 2020 Matthias Kretschmann

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
OR OTHER DEALINGS IN THE SOFTWARE.