WIP - We're building the place you go to discover, share, and sell files on the web.
Go to file
2020-07-17 03:24:20 -07: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 postgres: user accounts, migration scripts, api route rewrite, stopping point 2020-07-17 03:24:20 -07:00
components code-blocks: fixes key warning and some minor cleanup 2020-07-16 11:03:52 -07:00
dist design system: 0.0.4 build local 2020-07-09 23:15:22 -07:00
electron cleanup: imports and site navigation 2020-07-15 22:48:51 -07:00
node_common postgres: user accounts, migration scripts, api route rewrite, stopping point 2020-07-17 03:24:20 -07:00
pages postgres: user accounts, migration scripts, api route rewrite, stopping point 2020-07-17 03:24:20 -07:00
public/static design system: update code block with jet brains mono and rainbowy code 2020-07-14 20:54:46 -07:00
scenes dropdowns: fixes broken select menus and updates them across the client 2020-07-15 19:45:23 -07:00
scripts postgres: user accounts, migration scripts, api route rewrite, stopping point 2020-07-17 03:24:20 -07:00
vendor initial commit for the application prototype 2020-06-03 09:20:54 -07:00
.babelrc Webpack for node server 2020-07-08 18:53:46 -05:00
.gitignore Formatting update 2020-07-08 22:19:08 -05:00
index.js Formatting update 2020-07-08 22:19:08 -05:00
knexfile.js postgres: user accounts, migration scripts, api route rewrite, stopping point 2020-07-17 03:24:20 -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 postgres: user accounts, migration scripts, api route rewrite, stopping point 2020-07-17 03:24:20 -07:00
README.md postgres: user accounts, migration scripts, api route rewrite, stopping point 2020-07-17 03:24:20 -07:00
rollup.config.js GLRenderer: temporarily disables it from slate-react-system, cuts a new release 0.0.3 2020-07-07 01:35:08 -07:00
server.js postgres: user accounts, migration scripts, api route rewrite, stopping point 2020-07-17 03:24:20 -07:00

Slate (WIP)

  • (WIP) A wonderful experience for creating mood boards, hosting assets, and making connections between topics you are researching
  • (WIP) With a Developer API and API Keys, a replacement for Amazon S3.
  • (WIP) Aims to have every feature the Filecoin Network supports.
  • (WIP) Great for storing images and sharing high resolution photos with friends.
  • Design system -> Release repository.

Current prototype (June 15th, 2020)

screenshot

Developer Introduction

Working on Slate requires an internet connection because we are using a hosted Powergate and a hosted Postgres. That means there is no offline mode in the short term.

.env

  • We use a dotenv file to manage sensitive values and secrets.
  • You must create this file to work on the application.
  • You don't need to create a .env file if you're only working on the design system.
  • There will be no local data in the short term.
POSTGRES_ADMIN_PASSWORD=XXX
POSTGRES_ADMIN_USERNAME=XXX
POSTGRES_HOSTNAME=XXX
POSTGRES_DATABASE=XXX
LOCAL_AUTHENTICATION_JWT_SECRET=XXX
LOCAL_AUTHENTICATION_PASSWORD_SECRET=XXX

Install and run

Run these commands to start the client locally.

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

# Run using existing .data folder
npm run dev

# Run a clean instance of Slate
npm run dev --reset-data

screenshot

  • Visit localhost:1337 in your browser.
  • When you run npm run dev for the first time. You will create a folder called .data. This is a temporary solution before we have user accounts to keep track of your library, settings, and Powergate token.
  • If you run npm run dev --reset-data this will reset your .data folder. This is useful if you encounter any bugs or if we switch networks.

Run electron (MacOS)

While you have npm run dev running, in another terminal screen run:

rm -rf .next
npm run build-electron
npm run electron-pack

And then open Slate.app in dist/mac/slate.app.

Get involved.

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