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

CLI tool #10

Open
jzillmann opened this issue Jun 29, 2019 · 3 comments
Open

CLI tool #10

jzillmann opened this issue Jun 29, 2019 · 3 comments

Comments

@jzillmann
Copy link
Owner

Would be nice to be able to use pdf-to-markdown from command line!

@LoneRifle
Copy link

LoneRifle commented Jun 30, 2019

Fwiw we at Open Government Products have forked the repository and created a CLI and library published on npm. We've changed the transformation logic slightly however, so some work is needed to safely backport the changes to this repo

The relevant PRs to backport are:
opendocsg#4
opendocsg#7
opendocsg#8
opendocsg#12
opendocsg#15
opendocsg#16
opendocsg#18

@jzillmann jzillmann added this to the v2 milestone Mar 6, 2021
@hyperknot
Copy link

hyperknot commented Jan 27, 2023

Can you provide some small snippet for a basic CLI usage of the modularize branch? It doesn't need to be on npm, I'd be git cloning it, I just cannot figure out how to make it run under node CLI.

I guess Files.test.ts already does something like this under the hood, but it's not clear to me what step is and what step isn't neccesary in a CLI tool.

@jzillmann
Copy link
Owner Author

Hey @hyperknot the modularize branch isn't working yet (and I'm currently not active). So no way using it. Please checkout https://www.npmjs.com/package/@opendocsg/pdf2md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants