This repository has been archived by the owner on Sep 5, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Home
Cyric edited this page Jun 29, 2017
·
10 revisions
Welcome to the sidecar wiki!
It is very easy to create a Gitter.im sidecar chatroom. Here is an example for review:
Step 1:
The main directions for adding a Gitter.im (chatroom) sidecar to your website are here: https://sidecar.gitter.im/
Step 2:
- Copy and paste your room name to the room: For example: if the room name address shows: https://gitter.im/the-spaceship/Lobby Then in the script code paste: the-spaceship/Lobby
example: room: 'the-spaceship/Lobby'
- Push the index.html code to your free github account and you now have a working gitter.im chatroom! :)
GitHub Help Directions (for linux terminal): https://github.com/Cyric263/note_book/blob/master/addProjectGitHub.adoc
- saved as index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sidecar Basic Example</title>
<link href="../common.css" rel="stylesheet">
</head>
<body>
<script>
((window.gitter = {}).chat = {}).options = {
room: 'the-spaceship/Lobby'
};
</script>
<script src="https://sidecar.gitter.im/dist/sidecar.v1.js" async defer></script>
</body>
</html>