Skip to content

goofyseeker311/javascriptircclient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 

Repository files navigation

JavaScript IRC Client

Example web page that implements html/javascript websocket IRC client on a website.

Requirements (debian linux server):

  • Apache HTTP Server 2.4.47 or later with mod_proxy, mod_proxy_http and mod_rewrite enabled.
  • Websockify to convert websocket to normal raw local socket.

Install:

sudo apt install apache2
sudo apt install websockify

Enable apache proxy/rewrite mods:

sudo a2enmod proxy
sudo a2enmod proxy_http
sudo a2enmod rewrite

Enable websockify websocket mirror:

websockify -D --log-file=/var/log/websockify.log 6668 localhost:6667

Apache site enable websocket rewrite:

RewriteEngine On
RewriteCond %{HTTP:Upgrade} =websocket [NC]
RewriteRule /wsirc ws://localhost:6668/ [P,L]
ProxyPass /wsirc http://localhost:6668/
ProxyPassReverse /wsirc http://localhost:6668/

About

JavaScript IRC Client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages