From f3197c1af7beae2b87ccb8186220ddaae4e8eeae Mon Sep 17 00:00:00 2001 From: k Date: Sat, 14 Sep 2024 11:47:02 +0200 Subject: [PATCH] general: fixes --- README.md | 42 +++++++++++--- website/index.html | 26 ++++++--- website/script.js | 141 +++++++++++++++++++++------------------------ 3 files changed, 120 insertions(+), 89 deletions(-) diff --git a/README.md b/README.md index 480f930f5..79a2969c0 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,7 @@ This project is in a very early stage. Until more people look at the code and ch - 1 TB of free space (will use 60-80% of that) - A running instance of bitcoin-core with txindex=1 and rpc credentials +- Git ### Docker @@ -62,28 +63,49 @@ Coming soon ### Manual -#### Prepare +#### 1. Dependencies + +First we need to install Rust ```bash -# https://www.rust-lang.org/tools/install +# Source: https://www.rust-lang.org/tools/install curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -# https://github.com/watchexec/cargo-watch?tab=readme-ov-file#install +``` + +Then we need to `cargo-watch` for the server + +```bash +# Source: https://github.com/watchexec/cargo-watch?tab=readme-ov-file#install cargo install cargo-watch --locked ``` -#### Parser +#### 2. Git ```bash +git clone https://github.com/satonomics-org/satonomics.git + +cd satonomics +``` + +#### 3. Parser + +```bash +cd parser + # The first run needs several information about your bitcoin-core config ./run.sh --datadir=$HOME/Developer/bitcoin --rpcuser=satoshi --rpcpassword=nakamoto # Next time you can just do: ./run.sh # As everything is saved in + +cd .. ``` #### Server ```bash +cd server + ./run.sh ``` @@ -103,11 +125,17 @@ Then the easiest to let others access your server is with `cloudflared` which wi - **Versatile**: You can view the data in charts, you can download the data, you can fetch the data via an API - **Accessible**: Free Website and API with all the datasets for everyone -## Logo +## Brand -The dove (borrowed from [svgrepo](https://www.svgrepo.com/svg/351969/dove) for now) represents _**hope**_ (kibō in japanese). +### Name -The orange background represents Bitcoin and when in a circle, it also represents the sun, which means that while it's our hope for a better future, we still have to be careful with our collective goals and actions, to not end up like Icarus. +kibō means _**hope**_ in japanese which is what Bitcoin ultimately is for many, hope for a better future. + +### Logo + +The dove (borrowed from [svgrepo](https://www.svgrepo.com/svg/351969/dove) for now) is known to represent hope in many cultures. + +The orange background is a wink to Bitcoin and when in a circle, it also represents the sun, which means that while it's our hope for a better future, we still have to be careful with our collective goals and actions, to not end up like Icarus. ## Roadmap diff --git a/website/index.html b/website/index.html index ff540c2c6..7ecc5f29e 100644 --- a/website/index.html +++ b/website/index.html @@ -411,18 +411,22 @@ position: absolute; bottom: 0; right: 0; + left: 0; display: flex; padding: 1.5rem /* 24px */; - z-index: 10; + z-index: 20; + pointer-events: none; + justify-content: end; - & > * + * { - margin-left: 1rem /* 16px */; + &:has(> * + *) { + justify-content: space-between; } & > button { box-shadow: 0 0 1rem 0.5rem var(--background-color); border-radius: 9999px; border-width: 1px; + pointer-events: auto; } } } @@ -908,6 +912,10 @@ } #selected-frame { + /* display: flex; Set in script */ + flex-direction: column; + display: none; + > header { button { margin: -0.5rem 0; @@ -1662,6 +1670,13 @@ /> +