Pdf docx viewer is a web-based application for browsing and viewing documentation files (PDFs) stored in a structured directory. It allows users to select different technologies and navigate through their respective directories to view the documentation files.
- Browse Documentation: View documentation files stored in a structured directory.
- Technology Selection: Select different technologies to browse their respective documentation.
- Dynamic PDF Viewing: View selected PDF files within an iframe.
- Persistent State: Remember the selected technology and last viewed PDF using cookies.
- Web server with PHP support (e.g., Apache, Nginx)
- PHP 7.4 or higher
- Git
-
Clone the Repository:
git clone https://github.com/Ruhin1/pdf-docx-viewer.git cd pdf-docx-viewer
-
Set Up Directory Permissions: Ensure your web server has read access to the
documentation
directory. -
Start Your Web Server: Ensure your web server is running and serving the project directory.
-
Open Your Browser: Navigate to
http://127.0.0.1/path-to-your-project/
(replacepath-to-your-project
with the actual path). -
Select Technology: Use the dropdown menu to select the desired technology.
-
Browse and View PDFs: Click on any documentation link to view the corresponding PDF in the iframe.
The directory structure should be as follows:
my-docx/ │ ├── assets/ │ └── styles.css │ ├── documentation/ │ ├── php/ │ │ └── │ ├── python/ │ │ └── │ └── / │ └── │ ├── function.php ├── index.php └── README.md
We welcome contributions from the community! Here’s how you can help:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature-branch
). - Open a Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.
Developed by md tonmoy islam ruhin. You can reach me at [email protected].