I have built (with @code-alt, @martin, @wh0, and other persons) a full chat platform for Glitch. It has many many features, check everything at our docs
It’s very simple. First, go to the opengc.glitch.me.
Then, drag the big yellow button into your bookmarks bar.
To open the chat, on the Glitch editor, click the link you have dragged into your bookmarks bar.
Not understanding? Check our video:
We could only build this with the help of the community. Here are some people that helped:
@tiagorangel2011 → Testing, a lot of contributed code
@code-alt → a lot of contributions, too
@wh0 → Original scripts, moderator, other scripts
@martin → Testing, moderator, project editor
@nobody → moderator, testing
@lajbel → one of the games
@community (including you) → Thanks for all the support related to this project!
Check post #149
Comment anything below if you have a more detailed opinion!
PS: Thanks @wh0 for the original project: Chat in the editor
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.
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.
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
Can you send a screenshot? It works for me.
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.
Fonts should be fixed now.
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 firstname.lastname@example.org 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?