An image hosting service on top of the LBRY protocol.
Find a file
Bill Bittner bab29984bf Merge pull request #19 from lbryio/development
removed client-side template literals
2017-06-04 11:10:08 -07:00
helpers handled non-500 daemon errors 2017-06-03 01:16:40 -07:00
public removed client-side template literals 2017-06-04 11:02:59 -07:00
routes added urls on publish completion 2017-06-03 00:41:02 -07:00
.gitignore updated .gitignore 2017-05-31 20:30:00 -07:00
package.json added urls on publish completion 2017-06-03 00:41:02 -07:00
README.md switched upload folder to ../Uploads 2017-05-31 20:29:16 -07:00
server.js uploader works locally 2017-05-31 19:48:09 -07:00

spee.ch

spee.ch is a single-serving site that reads and publishes images to and from the LBRY blockchain.

how to use this repository

  • start lbry
    • install the lbry daemon
    • start the lbry daemon
  • clone this repo
  • create a folder called Uploads in the same root directory where you cloned the repo
  • run npm install
  • from your terminal, run npm start
    • to run hot, run nodemon server.js
  • visit localhost:3000

site navigation

  • spee.ch
    • To publish a file, navigate to the homepage.
  • spee.ch/< the name of the claim >
    • To view the file with the largest bid at a claim.
    • E.g. spee.ch/doitlive.
  • spee.ch/< the name of the claim >/< the claim_id >
    • To view a specific file at a claim
    • E.g. spee.ch/doitlive/c496c8c55ed79816fec39e36a78645aa4458edb5
  • spee.ch/< the name of the claim >/all
    • To view a batch of files at a claim
    • E.g. spee.ch/doitlive/all

development to-do's

  • discover/explore functionality for home page
  • display a list of claims at /:name/all
  • fetching: a temporary page while the request is being made (with a loading bar?)
  • publishing: a temporary page while the request is being handled by the server (with a loading bar?)
  • publishing: after publishing, take the user to a temp page with the tx info and status of the tx (then redirect when the tx is complete)

API

Note: these are being used for testing durring spee.ch development and may not be maintained

  • A GET request to spee.ch/claim_list/< the name of the claim >
    • Will return the claim_list for the claim in json format.
    • E.g. spee.ch/claim_list/doitlive