|
|
Welcome to the sidecar wiki!
|
|
|
|
|
|
Step 1:
|
|
|
|
|
|
The main directions for adding a Gitter.im (chatroom) sidecar to your website are here: https://sidecar.gitter.im/
|
|
|
|
|
|
Step 2:
|
|
|
|
|
|
A. The Following is a second example of a basic side car below saved as index.html:
|
|
|
|
|
|
B: More Highlights Notes:
|
|
|
|
|
|
1. Copy and paste your room path 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
|
|
|
|
|
|
2. Push the 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
|
|
|
|
|
|
============================================================================================================
|
|
|
|
|
|
<!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>
|
|
|
|
|
|
|
|
|
|