Giter Site home page Giter Site logo

hack.chat's People

Contributors

andrewbelt avatar gkbrk avatar jaflo avatar kirkins avatar m4gnv5 avatar marzavec avatar vinitmundada avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hack.chat's Issues

Client cant connect to server

i am trying to set this up locally i have the server on 0.0.0.0:6000 and the client on 0.0.0.0:8080 but when i open a channel on the client it loads and just stays there without showing the nickname window

Install on Synology

First, thanks for your Hack Chat !

Is it possible to install this on NAS Synology ? I already installed node.js on the nas, but I don't what I have to do next.

Thanks

Startup issues

I've upgraded nodejs to v.0.12.7, the server started once and then it wouldn't a second time, this is the error(s) it produced (this time);

ubuntu@ip-172-31-0-10:/usr/share/nginx/xaerolimit.net/hack.chat$ npm start

[email protected] start /usr/share/nginx/xaerolimit.net/hack.chat
node server.js

Loaded config.json
Started server on 54.152.16.73:6060
events.js:85
throw er; // Unhandled 'error' event
^
Error: listen EADDRNOTAVAIL
at exports._errnoException (util.js:746:11)
at Server._listen2 (net.js:1139:19)
at listen (net.js:1182:10)
at net.js:1280:9
at dns.js:85:18
at process._tickCallback (node.js:355:11)
at Function.Module.runMain (module.js:503:11)
at startup (node.js:129:16)
at node.js:814:3

npm ERR! Linux 3.13.0-44-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start"
npm ERR! node v0.12.7
npm ERR! npm v2.11.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: node server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'node server.js'.
npm ERR! This is most likely a problem with the hack.chat package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node server.js
npm ERR! You can get their info via:
npm ERR! npm owner ls hack.chat
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /usr/share/nginx/xaerolimit.net/hack.chat/npm-debug.log
ubuntu@ip-172-31-0-10:/usr/share/nginx/xaerolimit.net/hack.chat$ npm owner ls hack.chat
npm ERR! owner ls Couldn't get owner data hack.chat
npm ERR! Linux 3.13.0-44-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "owner" "ls" "hack.chat"
npm ERR! node v0.12.7
npm ERR! npm v2.11.3
npm ERR! code E404

npm ERR! 404 Not Found: hack.chat
npm ERR! 404
npm ERR! 404 'hack.chat' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! Please include the following file with any support request:
npm ERR! /usr/share/nginx/xaerolimit.net/hack.chat/npm-debug.log
ubuntu@ip-172-31-0-10:/usr/share/nginx/xaerolimit.net/hack.chat$

Restricted Markdown

Some restricted markdown formatting would allow messages with bold, emphasized and a few more:

  • Code blocks with syntax highlighting
    js var example = require('example');
  • Inline code blocks (example)

and a few more, whereas a subset of the markdown syntax is restricted:

  • Title cases (#)
  • Tables (perhaps a feature too for mathematical illustration?)
  • Images (would be cool though)

Debian 8 installation issue!

First of all, nice project.

Debian (8) users need to install node, git and npm before starting. Server side instruction are good, just use node server.js. Issue comes with client setting.

Error after running make:

mkdir -p schemes
lessc --global-var='name=atelier-lakeside' scheme.less > schemes/atelier-lakeside.css
Makefile:8: recipe for target 'schemes/atelier-lakeside.css' failed
make: *** [schemes/atelier-lakeside.css] Error 1

Have a nice day.

Remeber user name

Each time the user enters in a new room, he must enter his user name.

It may be stored in localStorage to avoid it.

Installing

I'm trying to install hack.chat on a ubuntu 14.04 vm and I can't seem to get it to work. I have installed git, curl, npm, nodejs, and nodes-legacy.

when I run npm start I get this

[email protected] start /root/hack.chat
node server.js

/root/hack.chat/server.js:60
for (var client of server.clients) {
^^
SyntaxError: Unexpected identifier
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:929:3
npm ERR! weird error 8
npm ERR! not ok code 0

No way to set bots to be ignored by rate limiter

The most I can get out of hackbot before the rate-limiter kicks in is usually 3 lines or so. Possibly add some form of password verification for users to secure names (Like that of bots) and remove rate limits for those users.

hack.chat on TOR?

Hello.. I managed to get everything all 'n running via ngnix server. I am trying to figure out how to get it hosted on TOR. I know how to host website via nginx, but how do I configure hack.chat via .onion on TOR? Thanks!

Do something sensible if cookies are disabled

Currently without cookies it just looks broken - you don't even get to see the intro text.

It'd be nice to explain the project still, and tell the user that they need cookies enabled if that's the case.

All chat broken due to change

The change of /chat-ws to the line which used to be commented out bellow is now causing security errors, because it doesn't use wss.

Autoconnect

Disconnected clients should repeatedly attempt to log in.

continuous scrolling

It would be nice if you are within say 20px of the bottom of the screen (scroll), then an added line extends the height of the screen... the screen should scrollTo the height, so that new comments are always visible. (This doesn't work in the latest Chrome under ubuntu).

Not working through proxy

While trying to use hack.chat from behind a proxy I couldn't see any prompt for the nick and was unable to use the site at all. I tried changing browsers without success; Google Chrome, Mozilla Firefox and even Conkeror failed. Surprisingly, on Android I was able to get it working from both Chrome and Firefox browsers. I have no idea how that worked, the Android device was connected to the same Wi-Fi.

On checking the Javascript console on Chrome, I found this error.
WebSocket connection to 'wss://hack.chat/chat-ws' failed: Error in connection establishment: net::ERR_PROXY_CONNECTION_FAILED

I searched a bit and found that there is some problem with WebSocket working with proxies.

/channel command

ex... /channel lobby would do a location.replace('/?' + input)

Also, per #1 /nick would be useful.

Clients can spam server with invalid json

If many users in the channel execute some code like this:

var x="";
for(var i=0;i<65534;i++) x+="[";
setInterval(function() { ws.send(x); }, 0);

It'll flood the server with error messages and try/catch isn't the fastest so if many people do it it could probably crash. Its missing POLICE.frisk

Favicon

It would be nice if the favicon changed to the amount of missed messages, so i'm able to pin the tab in chrome to only see the icon but still not miss any messages

Add HSTS header

The HTTP version of the site redirects to HTTPS via 301 Moved Permanently, but if someone visits http://hack.chat/?my_secret_channel, that channel’s name is still compromised since it is transmitted before the switch to an encrypted connection can happen. The server should send an HSTS header to avoid this if the user agent visited hack.chat in the past.

Filter malicious LaTeX

Obviously, first thing I went to do was break the site. You've fixed the latex in the name which was good for disabling LaTeX names that would non-stop crash the room.

KaTeX/KaTeX#109

This goes over the open issue on the KaTeX library.

chat history

Is there a way to log chat history on the server if it's desired?

Better mobile support

Mobile Android chrome renders like desktop, ends up super small with wide left and right margins.

hack.chat is encrypted?

Hello: I just want to know if hack.chat software is encrypted? I don't see it via FAQ or README. Let me know.

Suggestion : Twitter login

It would be cool if you could make a version in which the user was forced to login with their Twitter credentials. That way you build a community without having to deal with membership. Each time I entered the room I would get my Twitter handle like @RichGriese and as a person visited the community more, you would get to know the person. And... be able to follow them via Twitter. This would eliminate the need to have any kind of user registration within the system, but would allow for unique and persistent nicknames.

It would also enable hack.chat to offer kind of meeting rooms for the entire Twitter community.

Cheers!

JS Popup for Username not Working!

Hello I'm able to install it on my Localhost to test this code. it worked and when i change my url to new group or channel i got no popup for Adding Name and Nothing else working, can't message etc Javascripts not working.

Prerequisites

It should be noted that on Debian/Ubuntu based distributions that the packages npm, nodejs and nodejs-legacy are required to build hack.chat (after cloning).

UTF-8 names are invalid

Tried to set my name to "Mörkö" (boogeyman in Finnish). The application says "nickname invalid".

User Mentions

When someone mentions your name, the message should be highlighted. Could also give some sort of notification in the tab, perhaps using favico.js.

Comment code.

I'd really appreciate if you could comment the code as I'd like to contribute coding, but with all the function floating around it confuses me.

Your app is awesome.

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.