Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/otiai10/chant
Chat Application written in Go, using Firebase, working on GAE/Go, easy to deploy
https://github.com/otiai10/chant
chat docker firebase firebase-database go google-appengine
Last synced: 7 days ago
JSON representation
Chat Application written in Go, using Firebase, working on GAE/Go, easy to deploy
- Host: GitHub
- URL: https://github.com/otiai10/chant
- Owner: otiai10
- Created: 2014-02-27T02:27:52.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-10-25T06:36:45.000Z (about 6 years ago)
- Last Synced: 2024-11-01T10:42:22.498Z (14 days ago)
- Topics: chat, docker, firebase, firebase-database, go, google-appengine
- Language: Go
- Homepage:
- Size: 15 MB
- Stars: 25
- Watchers: 4
- Forks: 2
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# chant
[![Build Status](https://travis-ci.org/otiai10/chant.svg?branch=master)](https://travis-ci.org/otiai10/chant)
# Deploy
```sh
# setup your secret varialbes
% vi app/secret.yaml
# Deploy it to GAE
% goapp deploy -application your-crazy-app app/
```without AppEngine?
```sh
% go get github.com/otiai10/chant
% chant -secret you-secret.yaml
```# Secret Variables
`app/secret.yaml` should be like this
```yaml
env_variables:
# Server token salt,
# any string as you like
JWT_SALT: w5Asjxxxxxxxxxxxxxx
# For Twitter OAuth,
# obtained from "https://apps.twitter.com"
TWITTER_CONSUMER_KEY: Keskxxxxxxxxxxxxxxxx
TWITTER_CONSUMER_SECRET: Ub1c7sVPJJaxxxxxx
# For Firebase,
# obtained from "https://console.firebase.google.com/"
FIREBASE_API_KEY: AIzaSyCxxxxxxxxxxxxxxxxxxxxxx
FIREBASE_AUTH_DOMAIN: your-crazy-app.firebaseapp.com
FIREBASE_DB_URL: https://your-crazy-app.firebaseio.com
FIREBASE_PROJECT_ID: your-crazy-app
FIREBASE_STORAGE_BUCKET: your-crazy-app.appspot.com
FIREBASE_MESSAGING_SENDER_ID: 72123123123123123123123
# For Push Notification
# obtained from "General Settings" of "https://console.firebase.google.com"
FCM_SERVER_KEY: AAAAqxxxx:adfadfadfasdfasdfadfadfadfadsfasdfas
```# Development
```sh
# Build frontend JavaScript
yarn start
# Wake up the server on local
goapp server app
```Better use **[`too` command](https://github.com/otiai10/too)** to parallelize both of them
```sh
% go get github.com/otiai10/too
% too -cmd "yarn start" -cmd "goapp serve app"
```# Issues and questions
- https://github.com/otiai10/chant/issues