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

skychat

v2.0.1

Published

Future-proof virtual cinema platform

Downloads

475

Readme

Overview

The SkyChat lets you:

  • 📺 Play medias in a shared synchronized player (Youtube, Twitch, self-hosted)
  • 📁 Organize self-hosted medias in folders to easily search & play them.
  • ⚽ Have fun with live cursor visualization, casino roulette, cursor-based football, etc..
  • 🔒 Feel safe. OP double auth, log fuzzing, shadow ban, TOR network detection/ban, etc..
  • 💻 Install and set it up in 2 minutes.

screenshot-desktop

How to install

Install in 30 seconds

You only need docker.

# 1. Use the autoinstall script (Clones the repository then executes app/script/setup.sh)
bash <(wget -q https://raw.githubusercontent.com/skychatorg/skychat/master/app/script/autoinstall.sh -O -) && cd skychat

# 2. Run the setup script and complete .env files as you wish (see sections below for tips)
npm run setup
cat .env

# 3. Run the app
docker compose up

Application setup

By default, the application will be listening to localhost:8081 and assume it is accessed from http://localhost:8081. In order to customize the domain name of your SkyChat application, edit the .env file.

Setup Youtube

Refer to the guide to use the YouTube plugin to watch videos.

Customize

Disabling features

Plugins are grouped in so-called PluginGroup instances. It is possible to disable specific features of the application by removing the plugin group name from the env.json file. By default, these plugin groups are included:

| name | removable | description | | ------------------------ | --------- | --------------------------------------------------------------------------------------------------------------------------- | | CorePluginGroup | ❌ | Basic features for the SkyChat to run properly | | PlayerPluginGroup | ✅ | Shared player functionnality | | GamesPluginGroup | ✅ | All the fun features, live cursor visualization and mini games | | ExtraSecurityPluginGroup | ✅ | Log fuzzer, TOR auto-ban, IP history tracker, user usurp command | | GalleryPluginGroup | ✅ | Gallery for self-hosted medias | | UserDefinedPluginGroup | ✅ | Custom plugins. By default, this plugin group contains no plugin, but any user-created plugin will be held by this instance |

In private rooms, only core plugins are loaded.

Customize preferences

The config/preferences.json file specifies application preferences. The available fields are detailed below.

| field | type | default | description | | ------------------------------------- | -------------------- | ------------ | ---------------------------------------------------------------------------------------------------------------- | | minRightForPublicMessages | number | -1 | Min. right to send public messages | | minRightForPrivateMessages | number | -1 | Min. right to send private messages | | minRightForMessageQuoting | number | -1 | Min. right to quote messages | | minRightForShortTermMessageHistory | number | -1 | Min. right to access short term room message history | | minRightForMessageHistory | number | -1 | Min. right to access full room message history | | minRightForUserModeration | number | 'op' | Min. right to ban, kick and access user ips | | minRightForSetRight | number | 'op' | Min. right to set user right | | minRightForAudioRecording | number | -1 | Min. right to share and play audio recordings | | minRightForConnectedList | number | -1 | Min. right to access the list of currently active users | | minRightForPolls | number | -1 | Min. right to create polls | | minRightForGalleryRead | number | 'op' | 0 | Min. right to access the gallery | | minRightForGalleryWrite | number | 'op' | 'op' | Min. right to add and remove gallery documents | | minRightForPlayerAddMedia | number | 'op' | 0 | Min. right to add medias to the player | | minRightForPlayerManageSchedule | number | 'op' | 'op' | Min. right to manage the player schedules | | maxReplacedImagesPerMessage | number | 50 | Max. number of replaced images per message | | maxReplacedStickersPerMessage | number | 50 | Max. number of replaced stickers per message | | maxReplacedRisiBankStickersPerMessage | number | 50 | Max. number of replaced RisiBank stickers per message | | maxNewlinesPerMessage | number | 20 | Max. number of newlines per message | | maxConsecutiveMessages | number | 1 | Max. number of consecutive messages in a room | | maxMessageMergeDelayMin | number | 10 | Max. minutes before not merging consecutive messages | | daysBeforeMessageFuzz | number | 7 | Number of days before messages are fuzzed, if ExtraSecurityPluginGroup is enabled | | invertedBlacklist | boolean | false | Whether blacklisted users can not see messages from users who blacklisted them | | messagesCooldown | ([number, number])[] | [ [ -1, 1] ] | (Rate limit) Number of points a message costs to be sent per right level. There is 100 pts / 10-sec time window. |

Customize the fake message history

config/fakemessages.txt contains the fake messages shown to users whose right level is less than minRightForShortTermMessageHistory defined in preferences.json. If minRightForShortTermMessageHistory is set to -1, you do not need to modify the fake messages since not one will see them.

minRightForMessageHistory defines who can quote old messages and navigate room old history.

Customize guest names

config/guestnames.txt is the pool of non-logged usernames. When a guest logs in, a random name is associated to its session. These names are randomly used from this file. If you want to change these names, keep in mind that they should not contain whitespace characters (anything matched by \s so newline, tab, space, ..). Default random names are animal names.

Adding features

The SkyChat is easily extensible through plugins. You can define custom plugins in app/server/skychat/plugins/user_defined/. It will be automatically loaded during the next application startup.

Contribute

Add features

Refer to the Wiki guides to contribute:

Please use only one of the following to suggest new features (or bug fixes):

  • Create a pull request
  • Open an issue with your proposal