Greasy Fork is available in English.

토론 » Greasy Fork 피드백

Library usage count?

§
게시: 2025-12-23

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?

JasonBarnabe관리자
§
게시: 2025-12-23

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.

§
게시: 2025-12-23

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.

JasonBarnabe관리자
§
게시: 2025-12-23

That would be possible.

§
게시: 2025-12-24

That would be great.

Anything is better than nothing...

§
게시: 2026-01-06

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. :)

JasonBarnabe관리자
§
게시: 2026-01-06

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.

§
게시: 2026-01-06

Thanks

답글 게시

답글을 게시하려면 로그인하세요.