Inspiration
As the theme of this year's AOL Hackathon was Pirate, we interpreted it in different ways. The word "pirate" can be seen as referring to modern piracy on the seas. It could also be seen as piracy online, the illegal use of copyrighted material. Our third option was to make a simple pirate-related game. We decided to choose the second choice.
What it does
Our application authenticates the user before they log in to check their code. Once they successfully log in, they can test the code for plagiarism and piracy. It makes sure that the user-entered code is not malware and then executes the code. It then uses an API to check if the code was ever used by another user and displays the results.
How we built it
We built this project by splitting it up into different parts that each of us could work on.
Challenges we ran into
One challenge we faced was the HTML input and retrieving the JavaScript part, which includes finding script tags in the code and copying the code in between the tags. Another challenge was integrating the API with the webpage to check the user's code for pirated content.
Accomplishments that we're proud of
For a while, the project seemed like it wasn't going to work and that we wouldn't have enough time to finish it. But, we were able to complete the project after working hard on it for some hours.
What we learned
We learned how to use GitHub Rest API and Graph QL API to detect piracy in code, and how to integrate APIs with JavaScript code. We also learned some JavaScript functions relating to strings and arrays, and a login feature in JavaScript.
What's next for Piracy Detector
We plan to use a Firebase Database to check for malware, as well as an infographics section in our project. We also plan to improve the API integration part to detect piracy and make it usable for multiple users at the same time.
Built With
- api
- canva
- css
- firebase
- github
- github-rest-api
- graph-ql-api
- html
- javascript
- visual-studio-code
Log in or sign up for Devpost to join the conversation.