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

Kickstarter for Trinidad

It is Saturday before Christmas and the beginning of the long weekend. The place where I live is extremely quiet. There are hardly any cars on the road. I ate my breakfast and I am surfing the web. Then I came across Kickstarter and I started asking questions. Mainly, can Trinidadians use Kickstarter? Are Trinidadians using Kickstarter? Do we need a Kickstarter type website for Trinidad and Tobago/Caribbean? There is fundmetnt but the idea is not the same. Kickstarter is for creatives and you are creating a tangible deliverable that is shared with backers. Also there is a vetting process. Fundmetnt is more akin to gofundme. I went to the Kickstarter website and I filtered by Trinidad and Tobago and only 17 projects were returned and many of them dated. This is not much. I contacted @kickstarter on Twitter and asked them "Hi. Can Trinidadians 🇹🇹 use Kickstarter? Will they be able to get the funds to their local bank?". I will also send an email. I will also send an email to ...

Google Pay in Trinidad

Update : It is prepaid and credit cards not debit. Linx on facebook said that the Linx machines do not fascilitate Google Pay.

Stop and stare at the crotons

It is 147pm. I just woke up from a nap. I had Sunday lunch which was chicken soup. My mobile phone does not have much charge left. I decided to write. What can I write about? I asked my mom what to write about. She said to write about flowers plants. She wants flowers in the yard. Flowers are beautiful. Flowers are attractive. Flowers are calming. Flowers are part of God's creation. I am reminded of the saying that we should stop and smell the roses. We should appreciate the now. Learn from the past, plan for the future but live in the now. I asked my mom why she likes flowers? She says it is therapy for the mind, it helps her to elevate her spirits and it makes the place look beautiful. That is flower power I would say. My favorite plant is the croton. I love passing through the countryside, especially in Tobago, and seeing the rich croton plants. Crotons are flowers-like I would say. Let us say they are pseudo flowers plants because of the mixture of colors on the leaves that see...