💬 Open source glitch chat


Hello world! :earth_africa:
I have built with @code-alt a full chat platform for Glitch. It has many features, like:

  • Using emojis like :) or ;) will turn them into their real forms (it has a bunch of other emoji saved too)
  • You can close the pane using a handy button on the bottom toolbar if you need more room while coding.
  • Whenever someone sends you a message, it will send a little sound! If the pane is closed, a red sign will appear at the bottom toolbar telling you how many messages your group has sent you.
  • It doesn’t matter what theme you use, the chatbox will still work.
  • See who said what
  • You can see who just joined and disconnected.
  • 100% security: no tracking
  • Alows guest messages
  • Anyone can join with the bookmarklet
  • Even if you disconnect, the messages will be saved
  • Automated Bot
  • Various shortcuts
  • There’s a game (type /bot game)
  • Type /bot rickroll to get a rickroll link
  • There is no need to manually update the bookmarklet, every time the page loads it makes a request and automatically converts the code to a bookmarklet
  • The update page is automatic, too
  • Famous quotes
  • Roll a dice
  • Disconnect using the bot
  • User WHOIS (with 'Allo 'Allo easter egg)
  • Report user
  • Shortcut to open/close the panel
  • Full markdown support
  • Type file FILE:LINE to create a link to focus the file and line you indicated
  • OMG rickrolling, type /bot superrickroll (sets the editor background to rickroll. when you click the editor, it disapears.
  • Plus much more!
    (keep updated)

How to use this

It’s very simple. First, go to the opengc.glitch.me.
Then, drag the big black button into your bookmarks bar.
To open the chat, on the Glitch editor, click the link you have dragged into your bookmarks bar.
You can check everything step-by-step here:
023f31cb-7a71-458c-a9a8-9d8118249b3d.mkv - Google Drive

:people_hugging: Credits

@tiagorangel2011 → Testing, a lot of contributed code
@code-alt → Semi-main code
@wh0 → Original scripts
@martin → Testing

:framed_picture: Screenshoots

:speech_balloon: Give your opinion!

  • :grinning: It’s awesome
  • :slightly_smiling_face: Maybe I will use it in future projects
  • :expressionless: You are just wasting your time
  • :person_tipping_hand: I wanna help you building this

0 voters

(if you selected “you are just wasting your time” or “i wanna help”, please comment your username plus why on the comments and, if applicable, I may DM you)

Comment anything below if you have a more detailed opinion!
PS: I know, the original post is here.


You can now chat as a guest without it showing up as null and it looks a bit like this:


In addition, messages will now save even if you disconnect.

Messages will be saved to your localStorage, and are loaded using the project’s name.

However, changing the project’s name will have all the messages deleted though. :frowning:

im stuck on how to open it lol

I was working on it lol, try again now

i was meaning, i dont even know how to open it. literally. would i put this in the console? im not really experienced with these things.

Oh. Create a bookmark and put this code in it, and click on it in the Glitch Editor.

1 Like

ill try it tomorrow as i have to fiddle around with some of my settings in order for this to work. but it looks great! cant wait to see how it works :slight_smile:

1 Like

Fonts don’t show for me :frowning:

Can you send a screenshot? It works for me.

1 Like

just tried it. and it looks amazing! i really like the concept of this. if its okay with you (and everyone else who worked on this), could i use the part of your code that saves and loads the messages?

Yeah, thanks! I made the save/load messages thing, and I have no problem with you using it.

1 Like

Fonts should be fixed now.

1 Like


this is awesome! Nice work.

Ok, I will add this to features, @code-alt!

Okay give me credit for it!

Hi y’all! The collaboration on this through the long weekend and today was really cool to witness, so thanks for not only building it, but sharing the process and working with each other so well!

I am going to have to bear some potentially bad news here, though: this surfaced that we had recently, unintentionally introduced a content security policy change that could potentially be used for harm. A change for that has just been deployed to ensure the security of everyone in the editor, and unfortunately that may break this work.

At the very least, the team and I had a great discussion today about how we should start thinking about ways to make the editor a safe place for the community to build upon, like you all did with this chat app. All I can offer you now are stickers (@tiagorangel2011 @code-alt @wh0 @Martin - email your address to me directly jenn@glitch.com if you’re interested), but hopefully in the future we can offer an actual rad developer experience extending the editor and more.


an excerpt of that csp

  http://www.luckyorange.com https://ssl.luckyorange.com https://d10lpsik1i8c69.cloudfront.net

it may be sufficient to upload to npm and serve through unpkg?