# Hacktoberfest 2023 experience

In [my previous article](https://aksbad007.hashnode.dev/first-blog), I mentioned that I was starting to contribute to open-source by participating in this year's Hacktoberfest. I'm pleased to announce that I've succeeded in getting 4 PRs merged, hence fulfilling the target and completing the contest. I even got a tree planted in my name through Tree-Nation (a reward given to the first 50,000 participants to have a PR merged).

Here is a list of projects that I contributed to:

1. "Would You" Discord Bot's Official Website
    
2. "Alert" npm package
    
3. "react-easy-edit" npm package
    
4. Crowdin API client for javascript
    

Let's go through all the contributions one by one.

### "Would You" Discord Bot's Official Website

**Would You** is a Discord bot that elevates server management by featuring user voting, daily messages, and customizability. Its official website is built using Next.js, TypeScript and Tailwind CSS. Apart from the general intro the website also features a blog section. I contributed by adding a progress bar on top of the blog page that increases or decreases as the user scrolls down or up to read the blog. The [issue can be found here](https://github.com/Would-You-Bot/website/issues/30).

![reading progress bar on blog page](https://user-images.githubusercontent.com/73303032/271852892-6d22c608-d0f6-4a27-b11c-69a90b12a48b.png align="center")

Contributing to this repo introduced me to the popular "[framer-motion](https://www.npmjs.com/package/framer-motion)" library and its usage in typescript.

### "Alert" npm package

**Alert** is a customizable toast component for React. It is built using typescript.

I contributed to it by writing logic for the **position** property that allows the toast component to be displayed on either one of the six positions on the screen, top-left, bottom-right etc.

The [issue can be found here](https://github.com/gxrsti/alert/issues/4). The [library itself is available on npm](https://www.npmjs.com/package/alert) and can be installed using the following code.

```bash
npm i alert
```

### "react-easy-edit" npm package

**react-easy-edit** is a react library that allows inline editing on HTML5 input components.

![react-easy-edit demo](https://camo.githubusercontent.com/e164e1abb38527cc961e20fb74b8abb3489c6be4890d42f9590948460014fd1a/68747470733a2f2f692e696d6775722e636f6d2f767771637165442e676966 align="center")

It is built using React. I contributed to this project by fixing code smells on one of the components. To the uninitiated, a code smell occurs when the code is not written using fundamental standards. These standards can vary from language to language. However, in this particular case, I just had to add prop-types to the component. Removing code smells doesn't affect the output of the code, but is rather a sanitary process and a good practice.

The [issue can be found here](https://github.com/giorgosart/react-easy-edit/issues/186). This [library is also available on npm](https://www.npmjs.com/package/react-easy-edit) and can be installed using the following code.

```bash
npm i react-easy-edit
```

### Crowdin API client for javascript

**Crowdin** is a localization management platform that aims to make the translation process more efficient. This platform has client libraries in almost every programming language, making it the biggest codebase I've ever contributed to. I got assigned to the task of adding support for the newly added API endpoint: the Applications API.

The project is built using typescript and the issue was a great place to implement classes, interfaces etc. as well as the jest library for testing (which I was not familiar with).

The [issue can be found here](https://github.com/crowdin/crowdin-api-client-js/issues/309). This [library can also be found on npm](https://www.npmjs.com/package/@crowdin/crowdin-api-client) and can be installed using the following code.

```bash
npm i @crowdin/crowdin-api-client
```

## And That's a Wrap!

I'm glad my first contributions went so well. I felt good seeing my name in the new release of the crowdin client library 😃.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1699209415640/62a29ec6-2c21-4b67-ba58-b8e5d8ea9bb2.png align="center")

However, upon writing this article, I'm realizing that I've contributed to only React and TypeScript-based projects. Maybe we'll change that new year.

I'm just so excited about all the digital badges and rewards that I received upon completion of this contest 🙌. These include a bunch of free credits and subscriptions to platforms like DigitalOcean, AppWrite, OpenSauced etc. I'll be exploring these in the coming days.

Until next time ✋🏻!!!
