As you might have noticed, I have been trying to put more of my work on Github recently. The reasons behind that are simple: I wanted to make my projects more reusable and easier to find / implement, and I wanted to contribute more to the community.⁣ πŸ™ŒπŸΌ

A few days ago, I built my first composer package, and today, I published a simple Javascript library that helps prevent spam in online forms using three different spam prevention techniques.⁣

The idea came to me yesterday evening when I was building a landing page for Koalati: I built a new sign-up form, and I had to implement a bunch of spam prevention features... again. Although it's fairly simple to set up, taking the time to manually add a honeypot, a submission timer/delay and to set up action switching seemed like a waste. It felt like I was doing the same thing over and over again... because I was.⁣

That night, as I was trying to fall asleep, I couldn't stop thinking about it. I wrote down my thoughts and a basic configuration object template in the notes app on my phone, just to get it out of my head, and I went to sleep.⁣

This morning, I got to work and now here we are: the project is live on Github, complete with a full guide and documentation. ⁣See it at github.com/EmilePerron/vermin.js

Overall, although implementing this as a side project has delayed my development of the landing pages, I'm very satisfied with the work I have done. And at the end of the day, that's all that matters! πŸ˜‰β£

How about you: what's the latest project that you have added to your Github?⁣

#github #opensource #webdevelopment #spamprevention