GithubHelp home page GithubHelp logo

hexagon / cryptalk Goto Github PK

View Code? Open in Web Editor NEW
84.0 8.0 23.0 805 KB

HTML5/Node.js based, client side (E2EE) encrypted instant chat

License: MIT License

JavaScript 93.07% CSS 5.08% HTML 1.46% Dockerfile 0.39%
encrypted-chat instant-messaging security e2ee communication aes-encryption aes-256 aes chat docker-setup

cryptalk's Introduction

Hi, I'm Hexagon!

A selection of my work:

  • My blog at hexagon.56k.guru, where i write about JavaScript, my librares and contributions and more.

  • Croner - JavaScript cron parser/scheduler. ESM. Node, Deno, Bun, Browser. No dependencies.

  • Croner-rust - Rust cron parser/scheduler. Fully featured, performant and minimalistic.

  • Pup - Fully featured process manager, written in typescript with love for Deno.

  • Lumocs - Easy to use static site generator for documentation, utilizing Lume and Deno.

  • Base64 - Base64 and Base64url to string or arraybuffer. ESM. Node, Deno, Bun, Browser. No dependencies.

  • Minitz - Minimal timezone conversion library for JavaScript, written for Croner, but now it's own package. No dependencies.

  • Entsoe-api-client - Unofficial ENTSO-e REST API Client for Deno and Node.

  • Bundlee - Static file bundler for web frameworks supported by Deno (and usable on cli).

  • Proper-tags - Modernised (pure ESM) version of the popular package common-tags.

  • DETRIS - Server side, web based multiplayer Tetris-like game written in Deno using Deno KV as persistent storage.

  • (etc...)

Other than working on my own projects, I often find myself converting existing packages from CommonJS to Deno/Node/Bun ESM.

๐Ÿ” Support My Work:

I'm fueled by coffee and burgers! If you've benefited from my work or believe in supporting open-source, consider backing me on GitHub Sponsors.

cryptalk's People

Contributors

dependabot[bot] avatar hexagon avatar lapwat avatar nwithan8 avatar unkelpehr 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cryptalk's Issues

Change Colours?

Hello!
I'm wondering if it's possible to change like the colours for the time stamps and messages and help banner. Like which file would it be and how would I go about doing that?

Thanks,
WYV3RN

Network breaking

Me and a friend of mine both tried to run this in our own servers. And both times it broke our internet. And it broke so bad on my friend's side that he had to do a factory reset on his router to get anything to work.

Something is causing things to break.

HTTPS support?

I think it'd be really nice to have HTTPS support for cryptalk.

Error in the container created by docker command

Good morning,

When I type docker run -d --restart=always -p 6666:8080 hexagon/cryptalk, the container crashes.

I get the following logs in the container:

cp: can't create directory '/usr/src/app/external-public/css': No such file or directory
cp: can't create directory '/usr/src/app/external-public/gfx': No such file or directory
cp: can't create '/usr/src/app/external-public/index.html': No such file or directory
cp: can't create directory '/usr/src/app/external-public/js': No such file or directory

Cheers,
lapwat

Dockerhub image broken

Hi, the latest Dockerhub image isnt properly compiled and just spits out errors. While Ive just put it on my own registry, its most likely helpful if you rebuild it.

Thanks.

Undefined room after reconnecting to server

Steps to reproduce (using latest docker image as of writing):

  • Join a room
  • Server disconnects and reconnects for whatever reason (i.e. internet outage)
  • Type /leave
  • Will show Left room undefined

> and < in room name

If having > or < in the room name, socket io fails in some way. It seems lite the generated json becomes invalid and the socket gets garbled. If I html-escape the room name before joining the channel, all is fine. But i want to join Error> , not Error> :)

Example:
http://www.host.com/#Error>:MyLongKey

Generates:
Uncaught TypeError: Cannot read property 'emit' of undefined

At:
cryptalk.js L372
room
? post('error', templates.messages.already_in_room)
: socket.emit('room:join', payload)

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.