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

matrix-mobitel-cli

v1.3.1

Published

Console util to leave all old matrix rooms by date

Downloads

8

Readme

Maintainability Build Status

Matrix-cli

Console util to work with Matrix

Install

$ npm i -g matrix-mobitel-cli

Start

matrix-cli

How it works

Enter your domain in matrix, user name and password. Then choose expected action.

Get room info

If you select this case, you will see info with amount about:

  • all rooms
  • rooms with only you with many messages
  • rooms with only you with no messages
  • rooms with more than one member with many messages
  • rooms with more than one member with no messages

Get room id by alias

Input room alias part. For example in #room_part:matrix.your-domain you should print room_part. If room exists in your domain, you will see room id. And if not found info about it.

Leave

Select period with no activity. From all rooms you get select which you're gonna leave, there is an "all" as parameter. Then confirm or leave this action. Next you can see how you leave it.

Leave empty

If you have rooms where you don't ever have at least one message and only one user inside is you, then it helps you to leave all of them at once. You can choose save all of them to a file after leaving, if you choose this after finish.

Invite

Select rooms you need to invite in. Select user from your freinds you want to invite. Then confirm or leave this action. Next you can see how you invite user in.

Send

Select rooms you need to send message to. Input message you want to send. Then confirm or leave this action. Next you can see how you send message.

Stop

Helps to leave from menu. The same as ctrl+c

Use as script to send message with options

git clone [email protected]:grigori-gru/matrix-cli.git
npm i
npm run start -d <your domain> -u <your username> -p <your password> -r <matrix-room name (only occurrence enough)>  -m <message>

or use options in .env:

DOMAIN="example.com"
USERNAME="test_user"
PASSWORD="password"

and this next:

npm run start -r <matrix-room name>  -m <message>