Skip to content

Geyser is a bitcoin & nostr native crowdfunding platform where you can fund project ideas with the support from global communities.

License

Notifications You must be signed in to change notification settings

geyserfund/geyser-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Issues GPLv3 License


Logo

Transform ideas into real-life projects

Discord

Telegram X

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
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

Where great ideas find great communities

geyser Screenshot

Enabling the Open Creator Economy

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.

(back to top)

Built With

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.

  • React
  • Typescript
  • ChakraUI
  • GraphQL
  • React Router

(back to top)

Getting Started


Prerequisites

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.


Installing Dependencies

Clone the repo, get into the repo directory and run:

yarn

Environment Variables

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.


Running the App Locally


Option 1: use the staging API with Docker

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

Option 2: use the staging API on host machine

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

Docker

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

Hosts Configuration


Staging API

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.


GraphQL Faker

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

Trusting Caddy Local CA Certificate

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.


Opening in the Browser

With Docker running, navigate to the staging URL provided below.


Staging

https://staging.geyser.fund/


Testing

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

Roadmap

See the open issues for a full list of proposed features (and known issues).

(back to top)


Contributing

Contributions to Geyser are always welcome!


Sitemap

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.

License

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.

(back to top)

Contact

(back to top)

Acknowledgments

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!

(back to top)

About

Geyser is a bitcoin & nostr native crowdfunding platform where you can fund project ideas with the support from global communities.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages