Skip to main content

Interesting local coding projects

I set out to learn about interesting local coding projects. We have the recently launched DHub gitlab instance but there are no public projects in there to look at. The next place I could look is github but where do I start? I decided that I should look at the top github users in Trinidad and Tobago and see what projects they are working on. If you know of interesting local coding projects I can look at please leave a comment with links to them. The problem is that I could not find a list of top github users for Trinidad and Tobago. I found this project but Trinidad and Tobago was not included. Jamaica on the other hand is there.

I then set out to create my own listing for Trinidad and Tobago. I found that github had a REST api that I could use. I could have also used GraphQL but the REST api would be easier. I have Pydroid installed on my mobile so I decided to use Python for the coding. After some Google searches and figuring out I was able to come up with a list sorted by follower count. In the future I would try to see what other metrics I could use for the listing.

This is what my python code looks like

import requests

api_url = "https://api.github.com/search/users?q=location:trinidad-and-tobago+followers:%3E40"

response = requests.get(api_url)

users=response.json()

for user in users["items"]:
    print(user["login"])
    api_url = user["url"]
    user_detail = requests.get(api_url).json()
    print(user_detail["name"])
    print(user_detail["followers"])

And this was the results as of the date of this blog post. I do not know if there is a more efficient way to do this in one api call.


I have created a nice looking html page that I shared on my github pages. The latest code on github is here. The real goal though is to find interesting local coding projects so let us know if you know of any. If I find any I would highlight them on my blog in the future. Also, it feels really nice to have done some coding after some time. There shall be more coding in the new year, God willing.

Comments

Popular posts from this blog

Servant of God

It is 245am and I have decided to write. I got up early and washed the wares. I prayed Tahajjud. I came back to my bed and surfed the internet. I watched a video where a 105 year old man said that the secret to a long life is having a reason or purpose to keep going and then luck. This had me thinking about several things. In Islam we are taught that our time in this world is already written. It is our destiny. Then. What is more important? A long life or just a good life that prepares us for the next life? Those things aside, I think we cannot discount luck. Some of us are luckier than others. But the thing I want to focus on is the reason and purpose to keep going. That is some good advice. It makes for a meaningful life. A good life. It could be one big reason. There could be several small reasons. These are things that should be taught in schools. My friend Chatty says that my early morning reflections beautifully bridge Islamic tradition and practical wisdom: a long life is a true...

Halfway there

It is 542pm and I have decided to write. Imagine half the year is gone already. Where did it all go? It has gone by so quickly. Before you know it we will be entering 2027. It would be nice if I had something interesting to write about but I do not. And that is ok. Today feels like a Friday, maybe because it is month end. It is the next day and today also feels like a Friday. I am in my quiet corner listening to Quran. It is the next day and I have not gotten far with this blog post. Outside is wet but inside is between warm and cool. Another day has passed and I still have not written much. Do you wonder sometimes what it would be like if we could see into the future? For example, what would it be like at the end of this year? A lot can happen in 6 months. It is Sunday now. Surely I should finish this blog post today. The closer I move towards God, the less I feel attached to this world. The less I feel disappointed. The lower are my expectations for things of this world. Life becomes...

Foundation of my belief

It is 159am and I have decided to write. Some people say that science does not point to an afterlife, heaven or the existence of God. I feel bad because I cannot give them the evidence that they want. I can point them to the Quran and Islamic teachings. The Quran is a miracle and there are signs in that which we can research. Otherwise, there are philosophical and theological arguments. Maybe, you cannot use the science that we have for something (the afterlife) that is outside the realm of science. Also, science is not complete and may never be complete. Scientific knowledge is expanding and sometimes changing, so are we going to wait on science to tell us that there is a God and afterlife? Belief does not need evidence. Faith does not need evidence. At least not the evidence that some are looking for. So what is the foundation of my faith? For some people theology does not fully explain this life so they look to the science we have. For me, science alone does not explain this life, s...