channel-box

1.0.0 • Public • Published

| recommond using node 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 a supabase project with the following tables
    • channel
      • created_at
      • name::Text
    • message
      • receiver::Text (setup as foreign key on channel if you want)
      • sender::Text (setup as foreign key on channel if you want)
      • channel::Text
  • file in your own keys in the .env file

ex:

box dev "$(ls ./some/dir)" # sends the out put of a bash command to the dev channel

Package Sidebar

Install

npm i channel-box

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

5.8 kB

Total Files

4

Last publish

Collaborators

  • sevanbadal