question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How can we install it on our localhost ?

See original GitHub issue

Hello Johannes,

Thanks for pdf-to-markdown.

I was trying to install it on my localhost machine but didn’t success to make it running. Is it possible ?

I’ve made a clone of the git repository (git clone https://github.com/jzillmann/pdf-to-markdown) then fired a few npm statements (npm install, npm lint, …) but, once done, how can I start the interface ?

The src/index.html static page stays with the empty <div id="main"/> (seems logic) but, yeah, how can I install and run locally ?

Thanks a lot in advance !

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jzillmanncommented, Sep 5, 2017

@cavo789 Nice!

So even for the hosted version of http://pdf2md.morethan.io its NOT true that you upload files to the internet. It’s a client side / javascript-only application, so none of your data leaves your machine.

You can try as follow:

  • Open up the page: http://pdf2md.morethan.io
  • ‘Upload’ an non-critical pdf (so all javascript are fetched from the server)
  • Disconnect from internet
  • Refresh the page and ‘upload’ your critical PDF’s

So this is just for verification… once you’re trusting the app, you don’t need to disconnect anymore! To double check you could use chrome/firefox dev consoles to see whats going in and whats going out… There should be only in, no out!

Alternatively, you can also grab the files from https://github.com/jzillmann/pdf-to-markdown/tree/master/docs and just open the index.html on your machine. Haven’t tried, but should work as well!

0reactions
cavo789commented, Sep 5, 2017

Not your fault !!! 😉

On my localhost because a lot of .pdf that I’m maintaining contains HR private data.

I’m developing my own tool based on markdown files (called Marknotes; see my repository if you’re curious). The idea was to convert .pdf to .md so I can manage them through my interface.

By using an online tool like yours, we need to upload the file on the internet which is always a bad idea when the file contains sensitive informations; that’s why. I really prefer to self-host such applications.

Have a nice day.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Install a Localhost Server on Windows - Techwalla
Reboot the computer. After the computer boots, open a Web browser. Type "http://localhost/" in the navigation text box. Press "Enter." The default ...
Read more >
How to Set Up a Local Web Server - Alphr
1. A dedicated computer to become your server 2. Running Windows, or Linux or a Mac computer running macOS 3. An Internet connection...
Read more >
How to Install WordPress on Localhost (5 Easy Steps) - weDevs
Download XAMPP; Install & Run the XAMPP on Your PC; Download WordPress Latest Version; Create a Database; Install WordPress on Localhost.
Read more >
How to Install Localhost Easily on Windows PC for Website ...
How to Setup Localhost for Web Development in PC ... Let's start setuping localhost on your PC. To do that, we need to...
Read more >
How to Set up a Localhost – Web Development Tutorial
Let's create a new HTML file with the basic HTML5 structure, add some content and save the file as 'home.html'. Now, let's place...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found