My Hacktoberfest
Tags: hacktoberfest, ai, development, aws
Published: 2023-10-30 16:20:18


> “October, crisp, misty, golden October, when the light is sweet and heavy.”
> ― Angela Carter, [The Magic Toyshop](https://www.goodreads.com/work/quotes/78229)

When the leaves turn their color, and the sun is enjoyable, ahh, October, you beautiful month. When the days are shorter, and you don't feel bad when it's raining, oh yes, it's Hacktober.

## How has my #Hacktoberfest?

Even though I haven't got all my PRs approved, I can say it was very good.

I am a fan of open source, but honestly, I don't contribute much. Hacktoberfest motivates me to change that.

I use @OpenSauced to search for repositories that have the #hacktoberfest label. It's a fantastic tool for finding excellent repositories to contribute to. I understand that it may not capture all available repositories, but the goal of Hacktoberfest is to discover something exciting and make a meaningful contribution to it.

And I found so many great projects.

- [trigger.dev](https://github.com/triggerdotdev/trigger.dev)[-](https://github.com/triggerdotdev/trigger.dev)-) for running background jobs framework with Typescript
- [Steampipe](https://github.com/turbot/steampipe)[-](https://github.com/turbot/steampipe)-) Using SQL to query your cloud services without a database
- SAML [jackson ](https://github.com/boxyhq/jackson)[(Best](https://github.com/boxyhq/jackson)(Best) name!!)- for a seamless integration of a single authentication
- [Novu](https://github.com/novuhq/novu)[-](https://github.com/novuhq/novu)-) The notification center infrastructure for your app

and many more. Go check it out yourself [here](https://app.opensauced.pizza/hacktoberfest/repositories/filter/recent).

## My contributions

### Komiser

I often work with AWS and recently came across a tool called [Komiser](https://github.com/tailwarden/komiser), which can create an inventory of your cloud assets and display the costs of each cloud service. I found it quite interesting, but I noticed a bug where [services were labeled incorrectly](https://github.com/tailwarden/komiser/issues/1122). Since the tool is written in Golang, I tried to fix the bug [myself](https://github.com/tailwarden/komiser/pull/1128), but someone else came up with a better solution. Although it was my first time working with Go, [Phind](https://www.phind.com/) taught me about [goroutines](https://golangbot.com/goroutines/), which are used in Go's concurrent model. I was eager to contribute to the repository, so I added a new [pricing support for CloudFront Functions](https://github.com/tailwarden/komiser/pull/1127). Additionally, I could apply my Javascript knowledge to [animate the edges of their explorer](https://github.com/tailwarden/komiser/pull/1142).

My learnings:

- Usage of Go and their concurrent execution.
- How the pricing of [CloudFront Functions are calculated,](https://aws.amazon.com/cloudfront/pricing/?nc=sn&loc=3) and that they [differ](https://aws.amazon.com/cloudfront/pricing/?nc=sn&loc=3) from [Lambda@Edge](https://aws.amazon.com/cloudfront/pricing/?nc=sn&loc=3)
- Refreshing my NextJS skills and how to use [Cytoscape Layer](https://github.com/sgratzl/cytoscape.js-layers/tree/main)

### DocsGPT

I became interested in [DocsGPT](https://github.com/arc53/DocsGPT) because I had a similar idea of training a model based on my own documents. I started reading through their [roadmap](https://github.com/orgs/arc53/projects/2) and engaging in their Discord channel. One of the ideas was to put [Langchain's Vectorstore](https://python.langchain.com/docs/modules/data_connection/vectorstores/) on AWS S3 or connect the application with an AWS S3 storage. DocsGPT is written in Python, and I found it to be a good project to brush up on my Python skills. The pull request is currently being worked on.

My Learnings here:

- Use [LangChain](https://www.langchain.com/) to develop a language model
- Get to improve my rusty Python skills

### S3-Simpler

I realized that I had already started working on my own project called [S3-Simpler (S4)](https://github.com/jolo-dev/s3-simpler) for last year’s #hacktoberfest. The main aim of this project is to create a small wrapper that can be used for uploading, downloading, and sharing any type of file, regardless of its size. Additionally, this repository also includes a CLI that can be run to upload, download, and share your files of an S3-Bucket (I was thinking of running something like `npx s4 upload --bucket my-bucket --filepath /path/to/my/file`). Typically, multipart uploads are required for files larger than 1 GB, but this CLI simplifies the process.

This project is built using NodeJS and has a Monorepo setup. I attempted to use Bun for bundling, but it had issues with bundling CommonJS packages to ESM. The library uses AWS SDK JS v3, and the CLI uses [ink](https://github.com/vadimdemedes/ink). It's still under development and needs to be published to npm. Any feedback and contributions would be greatly appreciated.

However, this project was forgotten, and #Hacktoberfest is over. Despite having a label, there was no marketing done, and as a result, it wasn't as visible as it could have been.

My Learnings:

- Without any marketing, you won't get any visibility
- Project Management is harder than I thought
- Trying out [Bun](https://bun.sh/) and realized its bundler was not correctly bundling to ESM
- Creating a library for ESM and CJS (Dual-Mode)

## Conclusion

Throughout Hacktoberfest, I attempted to complete four pull requests. Nonetheless, the experience was a great opportunity for me to learn and grow. I participated in various projects, including those related to AI, my own personal projects, and tools that I use for my daily work. This allowed me to gain exposure to a wide range of different technologies and to learn new skills that I can apply to future projects.

Moreover, the event provided me with the chance to explore many great projects, which helped me to expand my knowledge and develop my coding abilities. Beyond the hacking and coding aspects, I also enjoyed the social aspect of the event, interacting with others on Discord channels and getting to know new people who share my passion for open source.

Hacktoberfest motivated me to commit to doing something every day. Although I wasn't able to complete all four PRs, I am eager to continue contributing to open-source projects, as I believe that this is an important way to give back to the community and to help others. I am grateful for the opportunity to have participated in Hacktoberfest and look forward to continuing to learn and grow as a developer.