Discussions » Greasy Fork Feedback
Library usage count?
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.
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.
That would be possible.
That would be great.
Anything is better than nothing...
@JasonBarnabe
It isn't quite working...
I've some scripts using the following (etc), but they're not listed in the stats page...
https://greasyfork.org/en/scripts/519002-units-converter
https://greasyfork.org/en/scripts/538628-gemini-ai-stream-parser/stats
// @require https://update.greasyfork.org/scripts/519002/Units%20Converter.js
// @require https://update.greasyfork.org/scripts/538628/Gemini%20AI%20Stream%20Parser.js
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. :)
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.
Thanks

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?