Skip to content

kheemchandra/pdf

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Check this project live

Getting Started

Clone this project

git clone https://github.com/kheemchandra/pdf.git
cd pdf

Run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

Learn More

To learn more about Next.js, take a look at the following resources:

Deploy on Railway

This project is deployed on Railway for hosting. Since in Vercel we can not access filesystem here. But you can use other hosting platform where you can access app file-system.

Extra

This project uses PDFTron demo key. You will need to get one for running this project. Keep that secret key in env.local for development and in production you can configure your web hosting platform setting to keep secret key.

Feedback

Feedbacks are welcome.

Caution

⚠ Suitable for pdf file size < 10 MB

About

Convert pdf file to single page html

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published