Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a standalone version #1

Open
svenk opened this issue May 12, 2020 · 6 comments
Open

Provide a standalone version #1

svenk opened this issue May 12, 2020 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@svenk
Copy link

svenk commented May 12, 2020

I like your project (have found it on https://news.ycombinator.com/item?id=23157408). It took me quite a bit time to dig throught the code to find the relevant lines in https://github.com/baicunko/scanyourpdf/blob/master/pdfwebsite/views.py

In order to basically use these two central lines (calling convert and gs), which form the algorithm, without all the django overhead, it would be nice to have a standalone version, either as python script (would be also simple to extend) or as shell script (would require to maintain several files, not so useful).

Compare probably with the CLI tools in https://gitlab.com/edouardklein/falsisign

@baicunko baicunko self-assigned this May 12, 2020
@baicunko baicunko added the enhancement New feature or request label May 12, 2020
@baicunko
Copy link
Owner

Someone on HackerNews made a Gist with the commands. I will start implement his script within the source code as well as start developing a stand-alone app for privacy-minded documents which cannot be sent to a third party. I will let update this as soon as HN traffic decreases a bit.

@DanielHabenicht
Copy link

From a web perspective view, this could also be done on the client-side: https://github.com/KnicKnic/WASM-ImageMagick

@svenk
Copy link
Author

svenk commented May 13, 2020

Interesting. That project only coveres ImageMagick. What about GhostScript in WASM?

@DanielHabenicht
Copy link

DanielHabenicht commented May 13, 2020

Something like this? https://ghostscript.com/~tor/wasm/readme.html

@apurvmishra99
Copy link

Hey, so I was looking into something like this myself and when I I saw this I made into a python CLI app. You guys can check it out here PDFtoScan.

Or you can directly try it out by installing it using
pip install pdf-to-scan

@rwv
Copy link

rwv commented Apr 19, 2022

I re-wrote the logic in JavaScript and built a pure frontend site to do the scanning.

lookscanned.io

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants