Git Product home page Git Product logo

sleepychat's Introduction

Sleepychat

Because Omegle was just getting annoying.

Built on Node.js and Socket.io, Sleepychat attempts to the problems that plauge the ways we currently use random partner text chat services with hypnosis. Thanks to /u/ZerosHypno, the app is now live! Link: http://sleepychat.com/

This site was created by MrMeapify, and is now run by ElysianTail-Senpai.

Now it just needs... you. Have fun.

Sign in screen

In a chat

sleepychat's People

Contributors

elysian-anon avatar

Stargazers

 avatar Karthik Panjaje avatar Amit Asthana avatar Yuya Jeremy Ong avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

sleepychat's Issues

Login dialog not scrollable on too small screens

The modal login dialog is too large for smaller screens. Due to not being scrollable, either, it makes it impossible to use the app at all on those screen sizes.

Screenshot

This is on a relatively new T430 laptop, so I imagine it's a problem in practice for others, as well.

Extend room log privacy to PMs

From rainy and obliviondoll: if rooms can have log privacy, PMs should probably have it too. A /nolog command that causes PMs to be private with that person, or variants for all PMs, could be introduced.

Escaping is too agressive

https://github.com/MrMeapify/sleepychat/blob/master/app.js

                // Escape html
                message = message.replace(/;/g, "&#59;");           //escape ;
                message = message.replace(/&([^#$])/, "&$1");   //escape &
                message = message.replace(/</g, "&lt;");            //escape <
                message = message.replace(/>/g, "&gt;");            //escape >
                message = message.replace(/"/g, "&quot;");          //escape "
                message = message.replace(/'/g, "&#39;");           //escape '
                message = message.replace(/^\s+|\s+$/g, '');

This escapes valid URLS, such as:

http://hypno.nimja.com/visual/8?color=ff99ff&lines=slave

to:

http://hypno.nimja.com/visual/8?color=ff99ff&#38;lines=wet

I would recommend changing it to just:

                message = message.replace(/</g, "&lt;");            //escape <
                message = message.replace(/>/g, "&gt;");            //escape >

Quotes and the rest should have no effect on rendering inside a

Hide all images by default, not just gifs

The first reason is because there are ways to bypass the .gif image hiding feature (.gifv, .mp4, .png, .webp (i think?).

The second reason is to help avoid seeing hypnotic imagery (animated or static) when you don't want to see them.

The third, most severe reason reason is to make it harder for trolls to make "literal shit posts", if not worse.....

This feature would go hand in hand with #35.

(I go by another username of SleepyChat. You would probably recognize that username if I told it to you, but not this one. Shame github doesn't have a PM feature of its own...)

When I log in, I can see only the list of users on the right, not chat. To see chat I have to close the list. Not sure if it's related, but tab to finish a users name doesn't update, i.e. it takes a while for it to register that they are in (I cannot use tab to finish their name for a while), and the same for when they leave (I can tab their name after they leave).

Not too big of an issue, doesn't stop me enjoying/being hooked on Sleepy Chat, more of a slight inconvenience. I'm on windows 7 and using Google Chrome if that helps. Instead of the list being next to chat on the right, it's sort of above it and to the right, but I can't scroll down to see all of chat. Closing the list moves chat up and in view. For the tab thing, it just means I have to type peoples names instead -_-. final note, it is always like this. Gatsby out.

Entrance Popup is taller than my monitor resolution (1024x768, 1280x720)

When I attempt to enter the site, I get a pop up that is a taller pixel height than my desktop resolutions, so I can not actually enter the site, since the entrance buttons are, presumably, at the bottom of the pop up. This is site-breaking for those that don't intend to change their desktop resolution, even temporarily, for a single website.

Options for transgender users?

At time of writing, we currently have three gender options - male, female, and undisclosed. These are core parts of the site's functionality as they're used to match users.
I am wondering if there are any plans to add gender options for transgender users. If not, I'd like to put forward the suggestion. As a (currently) largely anonymous website on the internet, some people are going to have issues with users who are visibly transgender and not want to encounter them, and potentially visibly transgender users are going to have a problem with those users - who they likely also don't want to encounter.

Undisclosed can be used de-facto for this purpose, but 'undisclosed' isn't trans(male/female), and selecting the option for one's given birth gender is obviously going to be out of the question for these users.

I have not seen the codebase myself, but from a design standpoint, the simplest option would probably be to implement a check box that flags a user as trans in their matching info, and another check box to exclude or include people who have that in their info. My terribly random guess as a developer is that this is probably easier to implement than having to add a bloat of gender options beyond the default 3 and then having to add on top of that a bloat of matchmaking options for every possible combination the user cares about. This could also potentially be disclosed in the user's introduction blurb.

Other routes are possible, but this would probably be the least intrusive solution, and smooth out the matching experience for users on both sides of the fence. It'd also make it easier for users to trust each other having these things set for them ahead of time - obviously an important part of the relationship between hypnotist and subject ;)

Bug found in naming a room

I tried to create a room named "St▒neDr$nks▓░"
image
It worked well.
Nevertheless, when I tried to enter it, it failed.
image
I think you should check the name of the room when a user tries to create one, in order not for this situation to happen.

Accidentally banned

I think there was a night two to three months ago where I had accidentally refreshed the chat a few times and I was wondering if it had caused me to be banned by a bot. My name I normally went by was Xehanorto, same as here

Autolinking incorrectly links the entire rest of the message

When sending the message "Once again, http://github.com/MrMeapify/sleepychat/issues/ is the place to find all of the current outstanding bugs and feature requests. You're all free to add them if you like and I'm not around."

the linking looks like this: "Once again, http://github.com/MrMeapify/sleepychat/issues/ is the place to find all of the current outstanding bugs and feature requests. You're all free to add them if you like and I'm not around." and links the entire rest of the message. This is incorrect.

Random Disconnects

I have an Apple that I use Safari and Firefox to visit and chat on SleepyChat.
When I use Safari I may get disconnected at random times ( at least it seems so to me).
When I use Firefox the connection has been rock solid.
I can visit SleepyChat using different names in each of the browsers and leave them open in chat or on the main page and Safari disconnects many times over a few hours while Firefox remains connected.
I hope this helps for the future.

Dan

Option to exclude people already chatted to from matchmaking

When starting a new chat, add an option for matchmaking to:

INCLUDE people I have already talked to
EXCLUDE people I have already talked to

This would greatly improve the matchmaking process. This is likely to be per session only, due to the (I presume?) lack of persistent state of users, but assuming both chat participants use the same nickname, and the nickname pool has a high enough number of combinations to make collisions with new people improbable, should be sufficient and could be controlled entirely client side.

e.g. client sends to the server a list of nicks they've already talked to in this session, and server will exclude them from matchmaking.

Captcha error

So yeah, returning to the site after a long hiatus, aaaand there's one of those captcha things in the sign in screen now, but it's busted, nothing displaying, says

"error invalid domain for site key"

so yeah, can't enter the chatroom, would like to see that remedied if possible.

Chat Tokens

Users should be able to reconnect to each other if they accidentally lose each other with a chat token.

Clients needed for operating systems with browsers too old to run Sleepychat with captcha

It is impossible to access Sleepychat from Windows Phone 8.1 because the only web browser it supports is a version of Internet Explorer that is incompatible with the version of Recaptcha used. Considering that there seems to be other problems with sleepychat on the phone, I think a separate client for it and other cases (Wii for example) would be really nice.

Textinput field disabled/disappeared

There is a bug where the textinput field of the chat disappeared and it's not possible to send any messages anymore.
Don't know what triggers it but it looks like there's a loop which causes an endless nesting of divs with relative position.

bug

no restrictions on username characters

one of the problems with the recent trolling. there are no restrictions on the characters for usernames, so accented characters, unusual characters for foriegn-language support, and nonprinting characters (like line breaks) have been used for impersonation.

Sound parameters

It could be cool if we could changes the sound for each notification type [ Message, Mention, Whisper, Join Leave, Mod and Site ].

It would be useful if you are half-afk. On a second thought, it would be useful to differentiate important sounds [ Mod, Site ] from others.

On a harder and more technical level, the possibility to modify the sound for each person could be great.
It would only be useful for half-afk people, or tist/subs in session in my opinion though.
Nevertheless, it needs a pretty adaptive/ergonomic method, and I understand it is not
the most useful tool in the world

Oh also, maybe being able to modify the sound depending on the private room you have.

/banana command

Shows a random picture of banana cream pie. Could be fun, and since you already have coinflip it should be pretty easy.

Suggestions for the site

  • On firefox, the site keeps loading forever [ still working normally though]. Not sure if this is the case with me only or with others
  • Adding a user profile that can be seen by users when the user enter the group chat [or when a certain command is used such as !info [username]]

crash exploit

more from today's disruption: malicious parties have a means to reboot chat by forcing a crash. i am not certain how this is done, although logging should reveal it, although i suspect it results from manually sending javascript to inject a malformed chat message.

No 'Contact an Admin' Button

Well.. That's exactly my issue, I suppose. There is no way to contact an admin, say, if you get banned or something similar.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.