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

https://github.com/sevanbadal/box

Send messages to your friends and teammates without leaving the terminal!
https://github.com/sevanbadal/box

chat cli-app commanderjs node supabase terminal

Last synced: 11 months ago
JSON representation

Send messages to your friends and teammates without leaving the terminal!

Awesome Lists containing this project

README

          

# Box
[![NPM](https://img.shields.io/npm/v/channel-box)](https://www.npmjs.com/package/channel-box)

A terminal message passing app powered by [Supabase](https://supabase.com/) with authentication and realtime messaging support: `box open global`

| recommended node versions: `v16-17`
## Setup
1. clone this repo
2. create a `.env` file in the root project dir (contact me for keys if you want the global database!)
3. `npm i`
4. `npm link`
5. run `box --help` for a list of commands

## Self Hosted
- create an `.env` file and provide the values specified in `.env.example`
- create a supabase project with the following tables
image
- add the following RLS policies
image
image
image
image

`Channels` are public but you could enable RLS for them as well.

ex `box` command:
```bash
box ship dev "$(ls ./some/dir)" # sends the out put of a bash command to the dev channel
```
run `box` for details!