Skip to content

DaniFornons/clippdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📎 ClipPDF

ClipPDF is a lightweight web app built with Django that allows you to:

  • Attach files inside a PDF
  • Extract embedded files from a PDF as a ZIP
  • Switch languages between Catalan, English, and Spanish

How to Deploy

1. Clone the repository

git clone https://github.com/<your-username>/clippdf.git
cd clippdf

2. Create your .env file

Copy the example and customize it:

cp .env.example .env

Example .env:

SECRET_KEY=change-this-key
DEBUG=False
ALLOWED_HOSTS=localhost,127.0.0.1
CSRF_TRUSTED_ORIGINS=http://localhost,http://127.0.0.1
LANGUAGE_CODE=es

3. Create and activate a virtual environment

python -m venv .venv
source .venv/bin/activate

4. Install dependencies

pip install -r requirements.txt

5. Run the development server

python manage.py runserver

6. Access the app

Open your browser at:
http://localhost:8000

7. Stop the server

Press:

Ctrl + C

About

ClipPDF is a lightweight web app built with Django that allows you to attach and extract files inside a PDF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors