hexfetch

command module
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2025 License: MIT Imports: 8 Imported by: 0

README

hexfetch

hexfetch is a web application for hexfetch with convenient features like HEX miners, charts and periodical data fetching from Pulsechain API.
This doesn't itself interact Pulsechain network but instead it uses HEXDailyStats API to fetch data.
hexfetch doesn't need the 0x addresses at all so it's 100% privacy.

hexfetch is made with go 1.24.2.

Running hexfetch will create two folders into same directory where hexfetch is running.
data directory contains hexdata.json.
settings directory contains user defined config.json and miners.json.

Upcoming features

Better UI/UX
Optimization
Charts with functions


Build

go mod init hexfetch
go mod tidy
go build -o hexfecth

chmod a+x hexfetch
./hexfetch

Docker

docker build hexfetch:latest .
docker run -d --name hexfetch -m 256m -p 5555:5555 -v $(pwd)/data:/data -v $(pwd)/settings:/settings hexfetch:latest
# Alternatively use run.sh

curl http://127.0.0.1:5555

Environment variables

env value explanation
DEBUG true/false Enable logging. Default value: false

Tabs

Profile

Profile tab shows user's miners and T-Shares and total value of T-Shares.
If miner is matured, it will be shown (MATURED) with END button. Ending the miner will move it into Completed Miners container.

Viewing Completed Miners button opens a window of completed HEX miners.

Live Data

Live Data tab shows periodically fetched data from Pulsechain API.

Charts

Charts tab show historical charts of HEX price, T-Share rate and other useful information of HEX.

Settings

Settings tab shows:

  • Live Data Settings for changing the frequency of fetching data (in minutes)
  • Add New Miner for adding HEX miner with start date, end date and amount of T-Shares
  • Existing Miners for list of HEX miners with Delete function

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL