A website that allows you to view document files.
To get started with this application, make sure you have Node.js v18+ installed on your system. Then, follow these steps:
git clone https://github.com/AREA44/astro-document-viewer
cd astro-document-viewer
pnpm install
pnpm dev
Now, you can open your browser and navigate to http://localhost:4321 to see the application running.
To view your document, simply replace the source of the document in the <Viewer/>
component. For example:
<Viewer
src="https://github.com/AREA44/astro-document-viewer/blob/main/public/compressed.tracemonkey-pldi-09.pdf?raw=1"
/>
Licensed under the MIT License.