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!
- Host: GitHub
- URL: https://github.com/sevanbadal/box
- Owner: SevanBadal
- Created: 2023-02-08T16:44:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-20T11:50:09.000Z (almost 2 years ago)
- Last Synced: 2025-08-09T03:05:53.491Z (11 months ago)
- Topics: chat, cli-app, commanderjs, node, supabase, terminal
- Language: JavaScript
- Homepage: https://boxchat.dev
- Size: 83 KB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# 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
- add the following RLS policies

`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!