Skip to content

itskhaledmohammad/damn_ugly_chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Damn Ugly Chat

It is a fun project that I wrote. Me and some of my friends were on a remote session and we were using notepad to chat as we all were connected to the same machine. So I wrote this very small program, which I call Damn Ugly Chat to solve just that. You can type in your message and press enter and it will popup in the message box.That is is it!

Useage:

It was intended to be used in data uri format. Here are the steps so that you can run it now:

  1. Copy the following line and paste it in your browser (Don't be scared looking at those random numbers and characters, it is just the html encoded in base64):
data:text/html;base64, PGgxIHN0eWxlPSJ0ZXh0LWFsaWduOmNlbnRlciI+PHUgc3R5bGU9ImJhY2tncm91bmQ6ICNkMTkyMDA7IC8qIE9sZCBicm93c2VycyAqLyBiYWNrZ3JvdW5kOiAtbW96LWxpbmVhci1ncmFkaWVudCh0b3AsICNkMTkyMDAgMCUsICMwMGZmNDggMjAlLCAjZDgwMGEyIDQxJSwgIzAwZDRmZiA1NyUsICM4MDhjMDAgODYlLCAjZGIwMGMxIDEwMCUpOyAvKiBGRjMuNi0xNSAqLyBiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCh0b3AsICNkMTkyMDAgMCUsIzAwZmY0OCAyMCUsI2Q4MDBhMiA0MSUsIzAwZDRmZiA1NyUsIzgwOGMwMCA4NiUsI2RiMDBjMSAxMDAlKTsgLyogQ2hyb21lMTAtMjUsU2FmYXJpNS4xLTYgKi8gYmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KHRvIGJvdHRvbSwgI2QxOTIwMCAwJSwjMDBmZjQ4IDIwJSwjZDgwMGEyIDQxJSwjMDBkNGZmIDU3JSwjODA4YzAwIDg2JSwjZGIwMGMxIDEwMCUpOyAvKiBXM0MsIElFMTArLCBGRjE2KywgQ2hyb21lMjYrLCBPcGVyYTEyKywgU2FmYXJpNysgKi8gZmlsdGVyOiBwcm9naWQ6RFhJbWFnZVRyYW5zZm9ybS5NaWNyb3NvZnQuZ3JhZ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BzZWNvbmQ7IH0gdmFyIHRpbWVTdHJpbmcgPSBob3VyICsgJzonICsgbWludXRlICsgJzonICsgc2Vjb25kICsgIiAiICsgYXA7IHJldHVybiB0aW1lU3RyaW5nOyB9IGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3IoIiNzZW5kIikub25jbGljayA9IGZ1bmN0aW9uKCl7IGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3IoIiNtZXNzYWdlcyIpLmlubmVySFRNTCArPSBnaW1tZVRpbWUoKSArICIgOiAiICsgIjxiPiIgKyBkb2N1bWVudC5xdWVyeVNlbGVjdG9yKCJpbnB1dCIpLnZhbHVlICsgIjwvYj4iICsgIjwvYnI+IjsgZG9jdW1lbnQucXVlcnlTZWxlY3RvcigiaW5wdXQiKS52YWx1ZSA9ICIiOyBkb2N1bWVudC5xdWVyeVNlbGVjdG9yKCIjbWVzc2FnZXMiKS5zY3JvbGxUb3AgPSBkb2N1bWVudC5xdWVyeVNlbGVjdG9yKCIjbWVzc2FnZXMiKS5zY3JvbGxIZWlnaHQ7IH0gPC9zY3JpcHQ+
  1. Bookmark it for future use.
  2. Tadaa! That is it, next time you want to use it just open the bookmark.

About

It is a damn ugly chat to used in data uri format.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages