WIP - We're building the place you go to discover, share, and sell files on the web.
Go to file
2020-07-02 11:17:45 +08:00
.github/ISSUE_TEMPLATE issues: removes excess template. 2020-06-22 14:32:39 -07:00
common settings: removes comments and console statements 2020-06-30 23:59:03 -07:00
components files: supports drag and drop 2020-07-01 04:31:06 -07:00
node_common edit account: fixes issues with avatar updating, adds local settings for a user 2020-06-30 23:41:54 -07:00
pages files: supports drag and drop 2020-07-01 04:31:06 -07:00
public/static readme: removes logo and brand portion, adds a description for Slate 2020-06-30 17:29:29 -07:00
scenes settings: removes comments and console statements 2020-06-30 23:59:03 -07:00
scripts cleanup: formatting pass 2020-06-18 20:57:57 -07:00
vendor initial commit for the application prototype 2020-06-03 09:20:54 -07:00
.babelrc initial commit for the application prototype 2020-06-03 09:20:54 -07:00
.gitignore edit account: fixes issues with avatar updating, adds local settings for a user 2020-06-30 23:41:54 -07:00
index.js cleanup: formatting pass 2020-06-18 20:57:57 -07:00
nodemon.json initial commit for the application prototype 2020-06-03 09:20:54 -07:00
package.json edit account: fixes issues with avatar updating, adds local settings for a user 2020-06-30 23:41:54 -07:00
README.md readme: updates readme for accuracy 2020-07-02 11:17:45 +08:00
server.js settings: fixes settings save issues, adds local settings 2020-06-30 23:57:44 -07:00

Slate

Slate is a way to share Filecoin and Files with friends.

High fidelity concept (May 23rd, 2020)

original_5ab368196245f0603c2a0c20b63c0339

Current prototype (June 15th, 2020)

screenshot

Developer Introduction

We are building this product out in the open. As a developer you are welcome to take everything and anything. You are also welcome to contribute however you please.

This is an example of how to use the Filecoin Network on a Lotus DevNet. It uses Textile's Powergate and Aaron Sutula's work with the JavaScript/TypeScript Powergate Client.

Also included:

  • DevNet storage deals with miners.
  • Local library management, you can share it with others too.
  • Local powergate authentication token management.
  • Image file preview.
  • Send filecoin between wallet addresses, create new addresses.
  • Update your default settings.
  • The beginning of an open source design system.
  • A kitchen sink example for most JavaScript Powergate calls using async and await. If you need to see all of the possible functions, look here.
  • An example of using Inter.

Coming soon:

  • Many more features.
  • Electron wrapper and binaries.

Run locally (MacOS)

These steps will guide you through running the client. Having a running DevNet and Powergate instance are not required to work on the design system.

Satisfy dependency requirements

  • Make sure you have homebrew.
  • Make sure you run xcode-select -p, if the command does not return a response, run xcode-select --install.
  • Make sure you run brew install node.
  • Make sure you run brew install go.

Setup Docker

Setup Lotus DevNet and Powergate

  • Clone the Lotus DevNet repository.
  • Run docker run --name texdevnet -e TEXLOTUSDEVNESPEED=1500 -p 1234:7777 textile/lotus-devnet.
  • Clone Powergate.
  • Follow the instructions and run the commands in the README.md file:
cd docker
make devnet

Install and run

Run these commands to start the client locally. You may need to wait a small period of time for both of the Docker instances to complete running first.

git clone git@github.com:filecoin-project/slate.git
cd slate
npm install
npm run dev

Example of what to expect

screenshot

  • Visit localhost:1337 in the browser.
  • If you see the design system page instead, that means a token was not properly generated in the .data folder. Run npm run dev again.
  • Note — If you restart the server, it clears all your local files. You can disable this by modifying the code in server.js.
  • Note — There will be new commands in the future for different contexts, like electron.

Get involed.

Do you want to...

  • Help us build a design system for internal use?
  • Help us build out this example so every partner in the ecosystem can have example code to work with?

Then...

  • If you see things you want to work on, file an issue!
  • If you see something you want to fix, submit a PR!
  • I'm always available on Twitter to answer your questions: @wwwjim.
  • For any build questions feel free to reach out to Colin: cs.mccaleb@gmail.com