Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A one-time-payment filehosting site, using Bitcoin, in Go.
Go
branch: master
Failed to load latest commit information.
f
tmp
.gitignore Initial commit
LICENSE.txt Add MIT license
README.md Fixed typo.
config.json Fixed a lot of residual issues and general derps in the code.
index.html Fixed pricing error
petulant.go Fixed a load of stuff.
upload.html Fixed a load of stuff.

README.md

petulant-lana

The prototype for a file sharing website I'm working on.

Use with caution, there are still some issues I'm working on.

MIT Licensed.

Donate: 19DjXPi3SRPLHizWvXaNN9DuxQnCvgw5qj

Setup

  1. In config.json, edit the settings:
    • Set name to the name you want for your host.
    • Set url to the url for your host.
    • Set callbacksecret to a secret callback endpoint. (hagh243akghjkahg67q5894eyhauhgakjh4234fakj is a good example. url/callbacksecret is the url for the callback used by coinbase.)
    • Set baseprice to the base price per megabyte (in satoshis).
    • Set minprice to the minimum price per file (in satoshis).
    • Set coinbasekey to your Coinbase API key (for billing customers).
  2. Start Petulant-Lana.

You can use the option --port to choose the port to run on. 8080 is default.

Why the name?

I chose a random one provided by github. Not very descriptive though :P

Something went wrong with that request. Please try again.