hedyhli / starcli

:sparkles: Browse trending GitHub projects from your command line
https://pypi.org/project/starcli/
MIT License
547 stars 50 forks source link

Filter with multiple languages #106

Closed Blurry1Wang closed 1 year ago

Blurry1Wang commented 2 years ago

First, the project is very useful! Thanks for creating it! However, it's kinda embarrassing that we can only search on one language once a time. Can we add multiple language support so that we can search based on various combination of languages? Like python and c++

hedyhli commented 2 years ago

Thanks for bringing this up, it would be a nice feature! It can be achieved by specifying multiple languages with +language:a+language:b when querying GitHub. We can possibly allow --lang to be specified multiple times or with commas: --lang=python --lang=cpp or --lang=python,cpp.

fgsepter commented 2 years ago

Hi! My friend and I think this is a very good start for our contribution to GitHub. Could we work on this? :)

larissalages commented 2 years ago

Hello @hedyhli ! Could I work in this issue?

fgsepter commented 2 years ago

@hedyhli Hello, I've submitted a pull request to enable filtering with the combination of languages and spoken languages. Currently, we are able to use -l Python+JavaScript and -S en+zh.

hedyhli commented 2 years ago

Hello @hedyhli ! Could I work in this issue?

Hey @larissalages thanks for you interest but I'll let @fgsepter have a go at this first since they asked first 😄

Ladeia commented 1 year ago

This work still open? Can I work on this?

vaibhavb commented 1 year ago

Do you still need help? I can pick it up

hedyhli commented 1 year ago

Closing as implemented (#116).