Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add topics to repos #33

Open
m1ga opened this issue Mar 24, 2022 · 10 comments
Open

Add topics to repos #33

m1ga opened this issue Mar 24, 2022 · 10 comments

Comments

@m1ga
Copy link
Contributor

m1ga commented Mar 24, 2022

So we can find them better in the github search (and maybe use it for gittio) we should add tags/topics to the repos.

for our modules:
titanium-module, titanium-sdk

for the repos (e.g. the sdk):
titanium-sdk and other like mobile native android ios like https://github.com/tidev/titanium_mobile if appropriate

@m1ga
Copy link
Contributor Author

m1ga commented Feb 2, 2023

@hansemannn the issue about the github topics
Then we can scape e.g. https://github.com/topics/titanium-module (115 already)

@cb1kenobi
Copy link
Contributor

I remember going through all the repos and making sure the topics were semi-accurate. It's not a bad way to get a list of modules.

@hansemannn
Copy link

hansemannn commented Feb 2, 2023

Here is an example API request that returns all repos with the label "titanium" or "ios". We could fine-tune it as we develop it.

@cb1kenobi Is there a good Next.js / Blitz.js project setup for this kind of page (list view, search at the top, maybe slim navigation bar)?

EDIT: Pretty accurate query for iOS & Android modules: https://api.github.com/search/repositories?q=titanium%20in:topics%20language:objc+language:swift+language:java+language:kotlin&sort=created&order=asc

  • Match the label titanium
  • Match one of the languages objc, swift, java or kotlin
    => 108 results already and even pre-sorted by latest update! 🚀

@hansemannn
Copy link

Let's goooo! https://github.com/tidev/module-search-www

@de1mat
Copy link

de1mat commented Feb 2, 2023

Random ideas.

Could have different levels of "verification". If module not updated for X years then show a warning. If module has tag for "ti-sdk-12" then can show it supports the latest SDK for eg.

Also show the number of stars the module repo has of course 😀

@m1ga
Copy link
Contributor Author

m1ga commented Feb 3, 2023

some early feedback:

I think the results should not be a direct github api call. A cronjob should do the crawl and check the repo for "ios/manifest" or "android/manifest". That would remove many false positives.

And add a weight to the title. If I search for "map" the actual ti.map is the 3rd result. First one is mixpanel, 2nd the sdk itself.

If you clear the complete input field it will break everything.

@hansemannn
Copy link

Yep, an own site aka gitt.io would be great, but also creates much more overhead to initially create. I wanted to get something out quickly, but of course if can be extended. Next.js also has the capability to do the server-side work directly in the same project (via the /api folder), so that could be a quick start.

@de1mat
Copy link

de1mat commented Feb 3, 2023

I am in favour of using Next.js as I think it is the framework of choice for the overall website and would have broader interest from other devs moving forward in terms of contributing etc. Also provides a lot of options around tooling and ecosystem.

@Astrovic
Copy link

Astrovic commented Feb 6, 2023

Good idea! Maybe JavaScript could be added in the query, there are some CommonJS or Hyperloop modules.

@hansemannn
Copy link

It's all open source, go for it! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants