For this halloween, we're stuck at home .. sadly no trick-or-treating because of the pandemic. And that's why we decided to make a box of tricks that you could use to have fun by tricking your friend.
What it does
There are multiple tricks, which include a fake cursor that hides the real cursor and displays a virtual one. You can even tweak the code to make the mouse movements inverted and watch as your friends go crazy as to why their mouse won't work properly. The Windows Destroyer is a rather harmless VB Script which makes your friends PC go haywire by opening several applications at once. The link shortener allows you to set custom metdata, so link previews shown by Discord, WhatsApp, or any app of your choice shows your fake link data. The easiest way to a rick roll, I'm telling you ;)
How we built it
Challenges we ran into
This was the first time using CockroachDB so that was quite a challenge. We first tried to register on Cockroach labsWe ran into trouble while setting up the DNS records and Nameservers for our domain. Once we got that figured out, everything worked like a charm. Another problem that we faced was with the conversion of the VBScript to an executable as Windows prevented the executable from running.
Accomplishments that we're proud of
If you visit https://gettricked.online, we're particularly proud of how it turned out to look like. We've come a long way when it comes to designing web sites. Overall proud of how everything turned out.
What we learned
We learnt a great deal about how to get CockroachDB up and running. This was the first time we were dealing with a database cluster, so getting that working was super interesting (especially with the certificate generation and whatnot). Also, for the link shortener, we used sequelize and sequelize-cockroachdb to interface with the database, and this was the first time we're using that too!
What's next for Box-O-Tricks
More tricks obviously!