Discussions » Greasy Fork Feedback

Library usage count?

§
Posted: 23. 12. 2025

I've made a library on GF, and I find myself wanting to know how much use it will get. I appreciate seeing the number of downloads of my scripts, and I'm wondering how to get the same information for libraries. Is there a reason there seem to be no usage statistics for libraries?

§
Posted: 23. 12. 2025

The install counts on non-library scripts is based on users that click on the Install button, not number of requests to the script code, as that would be inflated by bots, update checks, etc. For libraries, there is obviously no such Install button.

Update counts on non-library scripts is based on daily unique IPs that make a request to the script's .meta.js code. This is based on the assumption that a script manager will check for updates at least once a day. I believe script managers, when performing update checks, do not also check libraries for updates, so a similar stat is not possible.

Potentially, there could be a counter for number of requests to the library's JS. Not sure if I'd call that "installs" or "updates" or "downloads" or what. I'm not sure what specific meaning it would have.

§
Posted: 23. 12. 2025

How about counting the number of hosted scripts that @require or @resource each library? I guess that doesn't count dynamic imports, but I believe you discourage those anyway.

§
Posted: 23. 12. 2025

That would be possible.

§
Posted: 24. 12. 2025

That would be great.

Anything is better than nothing...

§
Posted: 06. 01. 2026

Oh, gosh, I didn't know this was done already, neat!

@hacker09, which of your scripts use those? I'd look through them to see, but it looks like you have quite a number. :)

§
Posted: 06. 01. 2026

I was reusing a component to turn a URL into a Greasy Fork ID, and it didn't work with the suggested URL format for libraries (it worked for the old suggested format). I've adjusted and now those two libraries show one usage.

§
Posted: 06. 01. 2026

Thanks

Post reply

Sign in to post a reply.