ymdatta / SimplyClip

A chrome extension that allows copying of items to and from clipboard.
MIT License
0 stars 1 forks source link

Fix summarizing clipboard content backend issue #3

Closed ymdatta closed 8 months ago

ymdatta commented 8 months ago

Summarizer talks with DJango backend to run the NLP models on the clipboard and get the summarized output of clipboard content.

When the project was first run, we encountered issues with dependencies and the extension simply failing to connect to the background. Fix this issue and update the code to get the backend part running.

ymdatta commented 8 months ago
  1. Updated dependency list.
  2. Updated backend's URLs, so that the right request is parsed and right function in views is called with correct arguments.
  3. Changed the method with which HTTP requests are processed. For example, when we receive something from extension, its' a GET request and should be processed as such.
  4. Instead of encoding data and sending it to extension in different formats, used plain text as it gives the extensibility one needs and needs no pre/post processing while storing.
ymdatta commented 8 months ago

All the above features are added with 6b93d91b991ea65b9926cf1d8c13a077adc7e661