Skip to content

ably-labs/go-chat

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Ably Go Terminal Chat

Basic Go chat program using Ably for networking.

Setup

Firstly you need to replace the YOUR_API_KEY text in .env.example with your Ably API key and re-name the file to .env. You can sign up for an account with Ably and access your API key from the app dashboard. We keep the API key in .env and ignore it in .gitignore to avoid accidentally sharing the API key.

Next, run the application with the following line, specifying your ClientID as an argument, and you're ready to start communicating over Ably!

~ $ go run chat.go YOUR_USERNAME

About

Basic Go chat program using Ably for networking.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published