Skip to content
This repository was archived by the owner on Jun 25, 2025. It is now read-only.

Conversation

@AnyTimeTraveler
Copy link

I added a small module, which allows anyrun to keep track of how often an entry has been launched.
Anyrun can then use these statistics to improve the search ranking of these applications.

There the applications plugin has gained the following configuration options:

use_usage_statistics: bool
/// Whether to put more often used applications higher in the search rankings (default: true)

usage_score_multiplier: i64
/// How much score to add for every usage of an application (default: 50)
/// As a reference: Each matching letter is 25 points


max_counted_usages: i64
/// Maximum amount of usages to count (default: 10)
/// This is to limit the added score, so often used apps don't get too big of a boost

Since I see no downside to this, I have chosen to enable this feature by default.

Please let me know, if you'd like me to make any changes.

@AnyTimeTraveler
Copy link
Author

This PR mirrors this one: anyrun-org/anyrun#176

The only change is the file paths and that the example config has been moved to the Readme.

@bzglve bzglve merged commit 6d6accc into bzglve:main Jul 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants