8000 GitHub - lowshow/sortition: experimental pluggable hub server to validate data, then randomly return it 🔊⚰️
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

lowshow/sortition

Repository files navigation

sortition

experimental pluggable hub server to validate data, then randomly return it

Summary

This project is a component of _noisecrypt. The component provides the ability to redirect requests to a random selection from a set of URLs. The URLs are generally sludge endpoints. A hub is created using the UI, and this can then be used in sludge to add/remove endpoints to the hub, or in syllid to fetch random streams for playback.

Install

  • Download node (tested with v14.4.0)

Setup

API

  • Before running, ensure files and directories exist:
make init

NOTE: You will need to provide values for these variables

Nginx port

This is the port from which the nginx proxy server for sortition will run

Service hostname

This is the base URL hostname where sortition will be accessed

Additional hostnames

More hostnames (not required)

Sortition port

Port to run the sortition node app

Dev

  • Pass environment variables and run:
SORTITION_PORT="8001" make run

About

experimental pluggable hub server to validate data, then randomly return it 🔊⚰️

Topics

Resources

License

Stars

Watchers

Forks

0