npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

talk.chat

v0.1.0

Published

Featured TCP Chat server built on pure NodeJS

Downloads

4

Readme

TALK.CHAT

TCP Chat server built on pure NodeJS. Source code for a software talk that didn't hold. Had to finish writing the code 😁

Installing

From source:

git clone https://github.com/miraclx/talk.chat.git

Usage

cd talk.chat
node server.js

Connection

You can use anything that can keep a TCP connection

$ nc localhost 8888
What is your name? 

Features

Auto root

By default, starting the server automatically logs in the root user. Right there, the process's I/O is linked to the chat server. This user has administrative powers. You can also logout here to login elsewhere.

Direct private messages

To send direct messages, reference the user like so

@michael Hello

Personal Messages

To save personal messages, send a direct message to yourself

Administrator elevation

Admin users can perform certain operations not granted to other users

.makeadmin [user]
.revokeadmin [user]

Absence of explicit stating of user would automatically infer to carry out the operation on the user executing the command

Commands

  • .bye: Alias for .logout
  • .exit: Alias for .logout
  • .help: Alias for .commands
  • .list: List all users, blocked or not
  • .logout: Logout from the service
  • .commands: List all group commands
  • .block: Block a user from receiving or sending messages (admin only)
  • .unblock: Unblock a user if already blocked (admin only)
  • .makeadmin: Grant administrator permissions to the user (admin only)
  • .revokeadmin: Revoke administrator permissions to a user (admin only)
  • .shutdown: Shutdown the chat server (admin only)

License

Apache 2.0 © Miraculous Owonubi (@miraclx) <[email protected]>