WIP - We're building the place you go to discover, share, and sell files on the web.
Go to file
2020-11-05 07:29:14 +08:00
.github/ISSUE_TEMPLATE issues: removes excess template. 2020-06-22 14:32:39 -07:00
build Build for Mac, need to fix babel config 2020-07-08 18:51:49 -05:00
common adds case when the upload server is not provided 2020-10-27 11:54:57 -07:00
components removed absolute pos 2020-11-05 07:29:14 +08:00
dist npm: resolves warnings 2020-08-19 00:18:29 -07:00
electron shipping 2020-09-14 21:14:11 -07:00
node_common websockets: partial viewer updates are now supported 2020-10-26 21:41:42 -07:00
pages Merge branch 'main' of github.com:filecoin-project/slate into main 2020-10-27 12:08:51 -07:00
public/static marketing: implement download button + design tweaks + adding how to use instructions 2020-09-12 23:45:16 -07:00
scenes recactored styles 2020-11-04 12:02:19 +08:00
scripts updates heavy-stones to new miner schema 2020-10-20 16:59:45 -07:00
vendor strings: supports username mentions and slate mentions and links in text 2020-08-26 23:03:30 -07:00
.babelrc Webpack for node server 2020-07-08 18:53:46 -05:00
.gitignore gitignore: fixes gitignore issues 2020-10-08 14:21:18 -07:00
.prettierignore added simple prettier defaults 2020-10-05 12:25:55 -07:00
.prettierrc prettier: can't believe we let this bracketSpacing rule slip 2020-10-06 20:55:34 -07:00
index.js Electron env updates 2020-08-02 21:45:59 -05:00
knexfile.js knex: enable ssl in production 2020-07-22 17:13:09 -07:00
LICENSE-MIT design system: cleanup, adds license 2020-07-16 10:41:49 -07:00
nodemon.json initial commit for the application prototype 2020-06-03 09:20:54 -07:00
package.json implements websocket pinging server and unique id registers 2020-10-25 18:26:30 -07:00
README.md readme: updates to support multiple servers 2020-10-27 03:46:12 -07:00
rollup.config.js react-tippy: removed from the codebase 2020-08-15 18:39:00 -07:00
server.js removes upload code from server 2020-10-27 11:19:49 -07:00

Slate

Slate

An open source storage system for your data that makes it easy to collect, organize, and share them anywhere on the web.

Introduction

Slate Preview

Slate is the first open source file storage application designed to encourage collaboration and research across a distributed network. It is a first step towards enabling a thriving network for data storage and transactions powered by IPFS, Filecoin and Textile that is open and usable for everyone. Our goal is to provide a meaningful story for every feature the protocol provides today and in the future. The Slate Project is the byproduct of a growing community of contributors from around the world.

Slate is tightly scoped for the present and more broadly thought out for the future. Our primary objective is to create a best-in-class experience for uploading, collecting, and sharing media. Additional filetypes will be supported, but our focus is to start with the pieces that apply to everyone and then dial into more specific formats.

Developer API

Slate has a Developer API that allows you upload files using code and HTTP.

Every user who creates an account on Slate can use the API. Here is an example:

const response = await fetch("https://slate.host/api/v1/get", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    Authorization: "Basic XXX-YOUR-SLATE-KEY-XXX",
  },
});

Create an account and try it out!

Get involved

Slate is built by a growing community of collaborators and contributors. Wed love for you to join us!

How?

  • Find something you want to work on and file an issue.
  • If you see something you want to fix or change, submit a PR.
  • Reach out at any time. We're always available on Twitter to answer your questions: @_slate.

Slate Development Guide

  • To work on Slate you must have an internet connection.
  • We don't have windows support at the moment.

.env

  • You must create a .env file if you want to work on the service.
  • You don't need one if you work on the system.
  • Resource URIs are optional if you want to use another server for uploads.
POSTGRES_ADMIN_PASSWORD=XXX
POSTGRES_ADMIN_USERNAME=XXX
POSTGRES_HOSTNAME=XXX
POSTGRES_DATABASE=XXX
LOCAL_PASSWORD_SECRET=XXX
LOCAL_PASSWORD_ROUNDS_MANUAL=5
LOCAL_PASSWORD_ROUNDS=14
TEXTILE_HUB_KEY=XXX
TEXTILE_HUB_SECRET=XXX
JWT_SECRET=XXX
PUBSUB_SECRET=pKLO4lbzdMrhAFKwPo9bnmq03bxQrtu3
RESOURCE_URI_UPLOAD=http://localhost:4242
RESOURCE_URI_STORAGE_UPLOAD=http://localhost:4242
RESOURCE_URI_PUBSUB=ws://localhost:6464

Setup pubsub server

Setup file upload server

Install and run

git clone https://github.com/filecoin-project/slate.git
cd slate
npm install

# Run using existing .data folder
npm run dev
  • Visit localhost:1337 in a browser.
  • You should have 3 terminal screens open unless you don't want real time updates and file upload support.

Design System

Our design system is out of date and could use an update.