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

discordmium

v1.1.3

Published

Warning: This is meant for self-use only. You should not host this and make it publicly available to users, as they have full control over a browser inside your PC, as well as network information and user agent.

Downloads

8

Readme

Discordmium

Warning: This is meant for self-use only. You should not host this and make it publicly available to users, as they have full control over a browser inside your PC, as well as network information and user agent.

🤨 ● What the hell is this?

Discordmium brings the Chromium browser instance in Discord, of course limited to the Discord API.

image

Installation

npm i discordmium

Bot Creation

A bot account is required in order to run Discordmium. This is an easy process and will help you get set up.

  1. Ensure you are logged in to the Discord website by clicking here.
  2. Once logged in, visit the Discord Developer Portal.
  3. Click the New Application button in the top right.

image

  1. Give the application a name and agree to Discord's Developer ToS and Developer Policy.

image

  1. Click Create.
  2. On the left of the screen, click the Bot section.

image

  1. Click the Add Bot button.

image

  1. Confirm the creation of the bot by clicking the Yes, do it! button.

image

  1. Congratulations! A bot has been created on your application. Just a little more configuration is needed.
  2. Set the bot's profile picture if desired.
  3. Scroll down until you see the Message Content Intent option and toggle it. (Remember to save your changes!)

image

  1. Scroll back up and click Reset Token.

image

  1. Confirm by clicking the Yes, do it! button.

image

  1. Your bot's token will now be displayed. Don't share it with anyone, and keep it somewhere safe as it will be required for the bot to function!

image

Now that the bot has been set up, the token can now be used to run Discordmium!

Usage

const Browser = require('discordmium');

Browser(<DiscordToken>, <GuildId>, <RestartTime>, <sussyFilter>)
/** Note - tokens and IDs should be strings "like this" */

/** DiscordToken - Get it from Discord Developers Portal */
/** RestartTime - (optional, default = 300000) The amount of ms to wait to restart the current browser and let other users run the command again */
/** sussyFilter - (optional, default = true) Whether the content in the type button and URL input shall be filtered or not. */

Running

node .

License

Free use as long as credited.

Hackathon

Documatic is a search engine for your codebase; Ask documatic a question and find relevant code snippets and insights in seconds.

https://www.documatic.com/ Documatic acts as a search engine for your codebase; once you describe what you're looking for, Documatic pulls up related code or documentation making it easier to find what you're looking for in seconds!

Not sitting next to each other? No problem. Ask Documatic questions of your codebase to learn and understand your code in seconds. Documatic is the team member you wish you had

Our Visual studio Code extension: https://marketplace.visualstudio.com/items?itemName=Documatic.documatic https://cdn.discordapp.com/attachments/926110059782615071/1037404343470661713/Documatic_sh6hrz.gif