this post was submitted on 05 Jun 2025
30 points (100.0% liked)

Firefox

5378 readers
1 users here now

A community for discussion about Mozilla Firefox.

founded 2 years ago
MODERATORS
 

Cross-posted from "Extension showing similar repositories on Github" by @Mubelotix@jlai.lu in !firefox_addons@lemmy.ml


I created an extension adding a “Similar repositories” section to the sidebar of any public GitHub repository with more than 150 stars. It allows you to discover related open-source projects without leaving the page.

It's also open-source! https://github.com/Mubelotix/SimRepo

top 4 comments
sorted by: hot top controversial new old
[–] LeFrog@discuss.tchncs.de 8 points 1 week ago (1 children)
[–] Mubelotix@jlai.lu 6 points 1 week ago (1 children)

Because it stores the ML model. Everything is local

[–] LeFrog@discuss.tchncs.de 4 points 1 week ago* (last edited 1 week ago) (1 children)

Thx for your answer, makes sense! I was already wondering how the recommendations are generated. Maybe you can put this in the readme as well? I think that will make it more clear what a user can expect.

[–] Mubelotix@jlai.lu 3 points 1 week ago

Great idea, thank you for your feedback! I generated embeddings for repositories using a SVC model trained on a dataset containing almost all stars of Github. Recommendations are produced by finding the nearest neighbors in the resulting vectorial space. I might be improving this even further by including forks and watcher data in the future, but it's becoming expensive to train