slate/README.md

94 lines
3.4 KiB
Markdown
Raw Normal View History

2020-08-24 00:53:44 +03:00
![Slate](https://user-images.githubusercontent.com/310223/90989634-2048ae80-e550-11ea-938f-302a35ee1174.png)
2020-07-21 22:18:58 +03:00
# Slate
2020-07-01 03:31:48 +03:00
2020-07-29 09:03:23 +03:00
### An open source storage system for your files and data that makes it easy to collect, organize, and share them anywhere on the web.
2020-02-19 09:30:47 +03:00
- [Design System](https://slate.host/_/system)
2020-07-29 08:57:47 +03:00
- [Release Repository](https://github.com/filecoin-project/slate-react-system)
2020-08-24 00:53:44 +03:00
- [Live Application Release Candidate](https://slate.host/_)
2020-09-04 21:37:18 +03:00
- [Powered by Filecoin](https://filecoin.io)
- [Powered by Textile](https://textile.io)
- [Follow us on Twitter](https://twitter.com/_slate)
2020-07-23 08:00:38 +03:00
2020-08-24 00:53:44 +03:00
### Introduction
2020-09-04 21:37:18 +03:00
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.
2020-09-04 21:37:18 +03:00
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.
2020-09-04 21:37:18 +03:00
- Example Slate: https://slate.host/tara/loom
- Example User Profile: https://slate.host/gndclouds
- Our New Brand: https://slate.host/narative/slate-brand-identity
- Monet on Filecoin: https://slate.host/slate/monet
2020-09-04 21:37:18 +03:00
### Developer API
Slate has a Developer API that allows you upload files using code. Every user who creates an account on Slate can use the API today. Here is an example of how simple it is:
```js
const response = await fetch('https://slate.host/api/v1/get', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Authorization: 'Basic XXX-YOUR-SLATE-KEY-XXX',
}
});
```
2020-07-29 09:03:23 +03:00
2020-09-04 21:37:18 +03:00
Create an account today and let us know what you think!
# Get involved.
2020-09-04 21:37:18 +03:00
Slate is built by a growing community of collaborators and contributors. Wed love for you to join us!
2020-09-04 21:37:18 +03:00
Getting involved is simple:
- Find something cool you to work on and [file an issue](https://github.com/filecoin-project/slate/issues)
- If you see something you want to fix or change, **submit a PR**
2020-07-29 09:03:23 +03:00
- Reach out to us any time. We're always available on Twitter to answer your questions: [@\_slate](https://www.twitter.com/_slate)
2020-07-01 03:31:48 +03:00
## Developer Introduction
2020-07-29 09:03:23 +03:00
- To work on Slate you must have an internet connection.
- We don't have windows support at the moment.
2020-07-17 09:29:25 +03:00
### .env
2020-07-23 08:00:38 +03:00
- 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.
2020-07-17 09:29:25 +03:00
```
POSTGRES_ADMIN_PASSWORD=XXX
POSTGRES_ADMIN_USERNAME=XXX
POSTGRES_HOSTNAME=XXX
POSTGRES_DATABASE=XXX
2020-07-17 13:32:10 +03:00
JWT_SECRET=XXX
LOCAL_PASSWORD_SECRET=XXX
2020-08-12 11:23:37 +03:00
LOCAL_PASSWORD_ROUNDS_MANUAL=5
LOCAL_PASSWORD_ROUNDS=14
2020-07-20 05:27:31 +03:00
TEXTILE_HUB_KEY=XXX
TEXTILE_HUB_SECRET=XXX
2020-07-17 09:29:25 +03:00
```
2020-06-17 10:44:20 +03:00
2020-07-02 14:04:03 +03:00
### Install and run
```sh
2020-08-24 09:54:20 +03:00
git clone https://github.com/filecoin-project/slate.git
cd slate
npm install
# Run using existing .data folder
npm run dev
```
![screenshot](https://user-images.githubusercontent.com/310223/84878302-7d028700-b03e-11ea-82c4-c53dca9d7e65.png)
2020-07-23 08:00:38 +03:00
- Visit `localhost:1337` in a browser.
### Run electron (MacOS)
2020-07-10 19:38:40 +03:00
```sh
npm run electron-dev
2020-07-10 19:38:40 +03:00
```