Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zcong1993/text-share


https://github.com/zcong1993/text-share

Last synced: about 23 hours ago
JSON representation

Awesome Lists containing this project

README

        

# text share

> Simple multi-device text sharing



## Deploy your own

### 1. setup [fauna db](https://fauna.com)

- create database and collection
- create index for `shareId`

![fauna-index](./public/fauna-index.png)

### 2. deploy to [Vercel](https://vercel.com)

Environment Variables

```env
# your faunadb collection secret
FAUNADB_SECRET=
# white list for shareIds, separated by commas
SHARES_WHITELIST=
# faunadb collection name
FAUNADB_COLLECTION=
# shareId index name
FAUNADB_SHARE_ID_INDEX=
```