{"id":15373331,"url":"https://github.com/otiai10/chant","last_synced_at":"2025-10-25T02:21:15.058Z","repository":{"id":14519677,"uuid":"17233660","full_name":"otiai10/chant","owner":"otiai10","description":"Chat Application written in Go, using Firebase, working on GAE/Go, easy to deploy","archived":false,"fork":false,"pushed_at":"2018-10-25T06:36:45.000Z","size":15725,"stargazers_count":25,"open_issues_count":10,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-28T21:12:26.509Z","etag":null,"topics":["chat","docker","firebase","firebase-database","go","google-appengine"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/otiai10.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-02-27T02:27:52.000Z","updated_at":"2023-04-25T18:28:36.000Z","dependencies_parsed_at":"2022-07-22T12:49:27.254Z","dependency_job_id":null,"html_url":"https://github.com/otiai10/chant","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otiai10%2Fchant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otiai10%2Fchant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otiai10%2Fchant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otiai10%2Fchant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/otiai10","download_url":"https://codeload.github.com/otiai10/chant/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249072334,"owners_count":21208173,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chat","docker","firebase","firebase-database","go","google-appengine"],"created_at":"2024-10-01T13:54:46.897Z","updated_at":"2025-10-25T02:21:15.009Z","avatar_url":"https://github.com/otiai10.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# chant\n\n[![Build Status](https://travis-ci.org/otiai10/chant.svg?branch=master)](https://travis-ci.org/otiai10/chant)\n\n\u003cimg src=\"https://user-images.githubusercontent.com/931554/36833483-d9b53fb2-1d72-11e8-94b8-63efefa42fa7.png\" width=\"80%\" alt=\"Enjoy chatting, then work ;)\"/\u003e\n\n# Deploy\n\n```sh\n# setup your secret varialbes\n% vi app/secret.yaml\n# Deploy it to GAE\n% goapp deploy -application your-crazy-app app/\n```\n\nwithout AppEngine?\n\n```sh\n% go get github.com/otiai10/chant\n% chant -secret you-secret.yaml\n```\n\n# Secret Variables\n\n`app/secret.yaml` should be like this\n\n```yaml\nenv_variables:\n  # Server token salt,\n  #     any string as you like\n  JWT_SALT: w5Asjxxxxxxxxxxxxxx\n  # For Twitter OAuth,\n  #     obtained from \"https://apps.twitter.com\"\n  TWITTER_CONSUMER_KEY: Keskxxxxxxxxxxxxxxxx\n  TWITTER_CONSUMER_SECRET: Ub1c7sVPJJaxxxxxx\n  # For Firebase,\n  #     obtained from \"https://console.firebase.google.com/\"\n  FIREBASE_API_KEY: AIzaSyCxxxxxxxxxxxxxxxxxxxxxx\n  FIREBASE_AUTH_DOMAIN: your-crazy-app.firebaseapp.com\n  FIREBASE_DB_URL: https://your-crazy-app.firebaseio.com\n  FIREBASE_PROJECT_ID: your-crazy-app\n  FIREBASE_STORAGE_BUCKET: your-crazy-app.appspot.com\n  FIREBASE_MESSAGING_SENDER_ID: 72123123123123123123123\n  # For Push Notification\n  #     obtained from \"General Settings\" of \"https://console.firebase.google.com\"\n  FCM_SERVER_KEY: AAAAqxxxx:adfadfadfasdfasdfadfadfadfadsfasdfas\n```\n\n# Development\n\n```sh\n# Build frontend JavaScript\nyarn start\n# Wake up the server on local\ngoapp server app\n```\n\nBetter use **[`too` command](https://github.com/otiai10/too)** to parallelize both of them\n\n```sh\n% go get github.com/otiai10/too\n% too -cmd \"yarn start\" -cmd \"goapp serve app\"\n```\n\n# Issues and questions\n\n- https://github.com/otiai10/chant/issues\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fotiai10%2Fchant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fotiai10%2Fchant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fotiai10%2Fchant/lists"}