Skip to content

valerietanhx/copydf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Copydf

Screenshot 2024-05-31 at 3 37 57 PM

A tool to format text easily when copy-pasting from PDFs.

Motivation

I do quite a few readings for school. Sometimes, when I copy-paste text from those readings into Google Docs, they go all wonky like this:

Copy-pasted text with poor spacing and paragraphing.

I got so fed up manually deleting those spaces and paragraphs one by one that I decided to just make a web app that would do the formatting for me in much fewer clicks. And if I was going to make a simple web app, I might as well use it as an opportunity to try out some new technologies that I've been meaning to as well :)

Technologies

React, Material UI

Progress

  • Dark mode
  • Add option to correct hyphen spacing
    • e.g. ensure that well-formed is pasted as well-formed, not well- formed or well -formed
    • Why an option, not a default?
      • I personally have use cases where I would not want the hyphen spacings "corrected", e.g. for linguistics readings where hyphens can denote affixes like re- or -ness
  • Add ML to detect and handle further spacing errors, e.g. "whenitcopieslikethis", "o r t h i s"
  • Abstract out all components into separate folder (this is a small enough project that the ROI on doing so is quite low, but it's good practice!)
  • Improve labels

These to-dos are noted in App.js as well.

About

A tool to format text easily when copy-pasting from PDFs.

Resources

Stars

Watchers

Forks