GithubHelp home page GithubHelp logo

tylerchilds / api.distributed.press Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hyphacoop/api.distributed.press

0.0 1.0 0.0 1.06 MB

Home Page: https://distributed.press

License: GNU Affero General Public License v3.0

TypeScript 94.45% HTML 0.08% Jinja 5.47%

api.distributed.press's Introduction

logo-distributedpress

If you are new to the Distributed Press project, please visit our project website and project wiki for background context.

A Distributed Press server instance is provisioned with access to the World Wide Web (WWW) and Distributed Web (DWeb), and runs the Distributed Press API. An instance can be provisioned using this ansible.

A project may use the Distributed Press API of this server to publish its website, and the server will:

  • host the project website on WWW and seed it to DWeb networks (i.e. Hypercore, IPFS)
  • serve the Distributed Press API on WWW and seed GET responses to the DWeb networks

The Distributed Press is in early development, and is currently used to publish the COMPOST magazine. The official instance of the Distributed Press API is hosted at api.distributed.press.

Developing

  1. (Only once) Install dependencies: npm i
  2. (Only once) Create an RSA keypair for signing JWTs: npm run keygen
  3. To get the admin JWT that can be used to bootstrap other admin accounts, run npm run make-admin. This should only be used once to create actual admins (e.g. individuals in your organization who have the ability to add/edit publishers).
  4. Running the server:
  5. Normal: npm run dev
  6. Watch for changes: npm run watch
  7. Running tests: npm test

Troubleshooting

Try nuking the cache and protocol configs by running npm run nuke. Note you will reset the history for all your domains.

api.distributed.press's People

Contributors

akhileshthite avatar asotnetworks avatar benhylau avatar jackyzha0 avatar rangermauve avatar uditvira avatar yurkowashere avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.