Geyser is a bitcoin & nostr native crowdfunding platform where you can fund project ideas with the support from global communities.
Launch your project »
Explore live projects
·
Report Bug
·
Request Feature
Table of Contents
Where great ideas find great communities
Traditional Crowdfunding and Creator Platforms are built on closed monetary and social networks, which limits the use of crowdfunding (a powerful financial primitive) to around 30 Western countries and restricts project reach and social interaction to the platform.
Geyser is enabling the Open Creator Economy, by building fundraising on top of open Bitcoin/Lightning, open monetary networks, and Nostr, an open social network. With these tools we can empower creators globally to reach their communities and raise funds from them.
As an open company, we also build Open Source software and rely on the support of contributors to change the world for the better.
This section should list any major frameworks/libraries used to bootstrap your project. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples.
Yarn We use yarn as a dependency manager, install yarn if not already installed
npm install --global yarn
Docker ( optional )
We can use docker
and docker compose
for local development of the geyser-app
.
If you prefer using docker for development, make sure to have them installed on your local development machine, see here.
Clone the repo, get into the repo directory and run:
yarn
The app requires some environment variables to be set. We provide an example.env
file that you can copy to the a local .env
file:
cp .env.example .env
From there, populate the new file with the correct values. You have two development environment options, detailed below.
Make sure to complete the instructions described in Hosts Configuration, before proceeding using this method.
Currently, the staging API is the only way to get a functional authentication flow in standalone geyser-app
development environment.
To use the staging API, fill in the following value in the .env
file:
VITE_APP_API_ENDPOINT=https://api.staging.geyser.fund
Start the server:
make dev
Many at times we prefer using host machine intead of docker to run the server. In such cases we can use them directly.
Install dependencies:
yarn install
Start the server:
yarn dev
If you run into problems running the app through make command, you can run the app by running the following command in the project directory, as long as one of the docker configuration above is satisfied.
docker compose up -d
Or, if you are running an older version of docker and have docker-compose installed separately, run:
docker-compose up -d
To see the react app logs use the following command:
docker compose logs -f geyser-app
or
docker-compose logs -f geyser-app
In order for the requests to go through to the staging backend API, you will need to add the following line to your /etc/hosts
file:
127.0.0.1 staging.geyser.fund
This makes sure that you are able to make requests to the staging API from your local development environment with encountering CORS errors.
If running against the GraphQL Faker server, you'll also need these in the same /etc/hosts
file:
127.0.0.1 dev.geyser.fund
127.0.0.1 api.dev.geyser.fund
We are using Caddy as a reverse proxy to serve the local development app over HTTPS. This means that you will need to trust the Caddy Local CA Certificate in order to avoid any ERR_CERT_AUTHORITY_INVALID
errors in your browser.
To do so, you can run the following command from the project root directory after starting the app and caddy server:
sudo yarn caddy:trust-ca
This command will add the Caddy Local CA Certificate to your system's list of trusted certificates (only works on MacOS for now). It needs sudo rights for that.
With Docker running, navigate to the staging URL provided below.
We have end-to-end tests with Cypress. To run the tests locally, we'd need to create a cypress.env.json
file in the root directory, with the following key values:
APP_URL,
CONTRIBUTOR_LND_ENDPOINT,
CONTRIBUTOR_LND_ADMIN_MACAROON_HEX,
MINE_BLOCK_ADDRESS,
BITCOIND_ENDPOINT,
BITCOIND_AUTH
then
make test
See the open issues for a full list of proposed features (and known issues).
Contributions to Geyser are always welcome!
-
📥 Pull requests and 🌟 Stars are always welcome.
-
Read our contributing guide and coding guidelines to get started,
-
Read our style guide to know more about style considerations.
-
Read our Architecture guide to learn more about the project.
or find us on Discord, we will take the time to guide you.
You can generate a sitemap by running node generate-sitemap.js
. This will create a sitemap.xml file in the public directory. You can also modify the generate-sitemap file to include additional routes easily.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
- Stelios Rammos - @steliosats - stelios@geyser.fund
- Sajal Dulal - @sajald77 - sajal@geyser.fund
Use this space to list resources you find helpful and would like to give credit to. I've included a few of my favorites to kick things off!