Skip to content

Latest commit

 

History

History
47 lines (27 loc) · 1.75 KB

File metadata and controls

47 lines (27 loc) · 1.75 KB

🚨 DISCLAIMER 🚨

This is a hackathon project so the codebase looks terrible. There will be lots of bugs and currently is not being maintained so please keep this in mind.

🗑️ Rot or Not 🧠

Rot or Not is a browswer extension which uses Google's Gemini to see if the website you currently are on is rotting your brain or making the gains 💪.

🤓 Authors

✈️ Features

  • AI generated website productivity classifier
  • Manually tag websites as rot or not
  • Redirects the user when they exceed their maximum rot time
  • Productivity graph + graph export
  • Rotboard (unproductivity leaderboard)

🧰 Server Deployment

Poetry is needed the system and python 3.13 or above.

Create a config.json under the server directory.

Inside the json make sure to have: {"IP": "<YOUR_IP>", "PORT": "<YOUR_PORT>"}

Once done, run poetry install in the server directory to install the dependencies.

Then, run poetry run python3.13 app.py and the server shoudl be up!

💻 Deployment

To deploy this project, go into setting/config.js and modify the following fields:

API_KEY: "<YOUR_API_KEY>",: Replace with your own API Key (you can obtain this key by clicking on the key icon when using the extension)

BACKEND_API: "<IP:PORT>": Replace the IP:PORT with the ip and port specified in the server (ex. "127.0.0.1:8080")

USERNAME: "<YOUR_USERNAME>",: Replace with your own username

When running the extension for the first time, click the white circle on the right side to become registered for the leaderboard.