Skip to content

OB1Company/filehive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License


Logo

Filehive

A Filecoin-backed marketplace for datasets!
Explore the docs »

View Beta · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Contributing
  4. License
  5. Contact
  6. Acknowledgements

About The Project

Data is the lifeblood of the Internet and therefore one of the most valuable digital assets that can be exchanged. Filehive is a new kind of marketplace built on top of Filecoin and IPFS to provide everyone across the planet an easy and cheap way to distribute and consume diverse datasets.

The OB1 team has been working with Protocol Labs for many years now and this is the first Filecoin first project to come out of their development shop.

Built With

Getting Started

Follow the instructions below to get your Filehive environment working.

Prerequisites

Filehive requires three components:

Textile Powergate

See Textile's amazing instructions for setting a Powergate server. If you would like to run this application locally in development mode you can use a localnet version of Powergate. Textile provides details on how to use Docker to set it all up very quickly. https://docs.textile.io/powergate/localnet/

  1. go get github.com/textileio/powergate
  2. Make sure docker is running and in the powergate/docker folder run make localnet

Filehive Go API Server

Once you have your Powergate server up and running or you have access to a hosted instance that you can connect to from Filehive you can proceed to installing and starting the Filehive Go API Server.

Make sure you have Go 1.15 or above to run this server.

  1. Go get this project on your machine (go get -u https://github.com/OB1Company/filehive)
  2. Change into your source code folder (cd $GOPATH/src/github.com/OB1Company/filehive)
  3. Start the server (go run main.go)

Once you start the server a Filehive data repository will be created on your machine in your OS-specific location. If you need to customize your configuration to connect to a different Powergate server there is a filehive.conf file in your data repository folder that you can modify. Once you've updated your conf file you need to restart the server for changes to take effect.

Filehive UI

Filehive is a mono repo so the Go repo has the React web UI included (in the /web folder). You can either clone this repo in a different location or use the existing Go repo and navigate to the /web folder.

  1. Change into the /web folder
  2. Install dependencies using yarn or npm (yarn install)
  3. Start the node application (yarn start)

You can customize your application by specifying settings in the .env file in the root of the /web folder. You can see a sample .env file.

  1. Create .env file in root /web folder
  2. Update contents of .env
  3. Restart the node application (yarn start)

The application will start by default at http://localhost:3000

Roadmap

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

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Filehive - @TheFilehive

OB1 Company: https://github.com/OB1Company

Acknowledgements

Releases

No releases published

Packages

No packages published