Skip to content

Chrome Web Extension that uses a custom GPTZero Model to automatically detect and rephrase any GPT-generated text on Notion via a single click!

License

Notifications You must be signed in to change notification settings

Ducksss/HacknRoll2023-Robin-Hood

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Contributors Forks Stargazers MIT License


Logo

Robin Hood

Catch Me If You Can

Browser Extension · Fast API Backend . Report Bugs · Request Features

Table of Contents

About The Project

Introducing RobinHood - the ultimate hack for all your GPT-generated text woes. This bad boy uses cutting-edge GPT model to automatically detect and rephrase any GPT-generated text on Notion. But wait, there's more - you also have the power to tweak the intent, context, and styling of the write-up, making it virtually impossible for anyone to catch you using GPT on your assignments. Say goodbye to the fear of getting caught and hello to effortless, top-notch writing with RobinHood.

Our Project Mission Goals And Values

Our team goal is to democratize AI tools by developing and launching RobinHood, the ultimate hack for all GPT-generated text woes, using cutting-edge GPT technology to automatically detect and rephrase any GPT-generated text on Notion, while also giving users the power to tweak intent, context, and styling for virtually undetectable GPT use in assignments. With this tool, we aim to empower students and academia with effortless, top-notch writing capabilities, and to help them overcome the fear of getting caught using GPT, making advanced AI tools accessible to all.

(back to top)

Built With

(back to top)

High Level Architecture

sequenceDiagram
Web Extension FE->>Notion: Verify if domain is `https://www.notion.so/*`
Web Extension FE->>Notion: Recursively Parse DOM Elements to paragraphs blocks from the document
Web Extension FE->>FastAPI Backend: Send paragraph blocks to the backend for zero-shot detection
FastAPI Backend->>Web Extension FE: Sends back a score that is tied to each respective paragraph (detection)
Web Extension FE->>Notion: Inject DOM attributes and CSS to highlight high-risk texts
Web Extension FE->>FastAPI Backend: On Click, revalidate any paragraph with a unsatisfactory score that is >= 22.5 threshold
FastAPI Backend->>Web Extension FE: Document.ReplaceText/Element.innerHTML text content with converted text
Loading

(back to top)

Getting Started

Robin Hood is accessible via Browser Extension(https://www.notion.so/), running on-top of Notion.so.

Browser Extension

  1. Clone the repo.
    git clone https://github.com/Ducksss/HacknRoll2023-Robin-Hood.git
  2. Visit the Extension Settings Page from your Chromium Browser.
    chrome://extensions/
  3. Enable Developer Mode.
  4. Load and Enable the extension from the extension folder in this repo.
  5. Visit https://notion.so/ and Start Hacking!

FastAPI Backend

  1. Create an OpenAI account and create your own API key by following this tutorial.
  2. Insert your API key to the docker-compose.yml file as follows:
    environment:
      - OPENAI_API_KEY=<insert-your-openai-api-key-here>
  3. Start the FastAPI backend by simply running the following command:
    docker compose up  --build

For more instructions on how to start development server, please refer to the README file under the backend folder.

(back to top)

Roadmap

  • Extension support for other WYSIWYG editors (e.g. Google Docs, Microsoft Word)
  • Stay up-to-date for SOTA GPT text detection algorithm
  • Enhance GPT completion features (e.g. Text Summarisation, Text Completion, Text Classification)
  • SaaS support for general user with PAYG subscription model
  • Dashboard for past history and history exporting

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

  • Chai Pin Zheng (Frontend Engineer) - LinkedIn

  • Tham Kei Lok (Frontend Engineer/UIUX Designer) - LinkedIn

  • Grace Ng (AI Engineer/Backend Engineer) - LinkedIn

  • Wong Zhao Wu (AI Engineer/Backend Engineer) - LinkedIn

Project Link: https://github.com/Ducksss/HacknRoll2023-Robin-Hood

(back to top)

References

(back to top)

About

Chrome Web Extension that uses a custom GPTZero Model to automatically detect and rephrase any GPT-generated text on Notion via a single click!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •