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 🙏

© 2025 – Pkg Stats / Ryan Hefner

mtcrackcha

v1.0.4

Published

a simple library that uses Gemini to solve MTCaptcha challenges

Downloads

33

Readme

i'm too tired to write a good readme so heres a tutorial:

  1. install mtcrackcha using npm or bun or whatever the latest pacakge manager is
  2. create a new class
import MTCaptcha from 'mtcrackcha';

const mtc = new MTCaptcha({
    siteKey: 'MTPublic-THISISAKEY',
    testKey: 'MTPrivQA-ThisIsAMuchLongerKeyThatMayNotBeUsedOnSomeWebsites',
    host: 'https://google.com',
    geminiKey: 'AIzaSyGeminiApiKeyGoesHere'
});

you can get the sitekey by typing mtcaptchaConfig.sitekey into the console of the website and copying the output you can get the testkey by typing mtcaptchaConfig.enableTestMode into the console of the website - if it's null, that's normal

the host is the URL beginning (can have subdomain) where you solved the captcha

the gemini key is a gemini api key, wowzers not shocking

there is 1 method: mtc.solve

const solution = await mtc.solve('act_goes_here');
if (solution.success) console.log('got mtcaptcha token', solution.token);
else console.log('whelp, time to try it again');

you can get the act by:

  1. going onto the site where there is a captcha
  2. open the browser console (before the cap loads)
  3. waiting for the captcha to load
  4. go to network and filter by getchallenge.json
  5. click on it
  6. go to payload tab
  7. looking at the act value

chances are the act is $, which means there is no act and you can pass nothing as the lib will fill it

if it's an invisible challenge, you don't need a gemini key (but you must make sure to put the testkey) - invisible challenges are solved in <1s