Files
PDF-Downloaders/GITEA.md
T
2026-05-15 10:44:57 -04:00

1.6 KiB

Publishing to Gitea

Repository: https://git.masengr.com/Michael-A-Sloan/PDF-Downloaders

The Scribd downloader lives in the Scribd/ folder.


One-time: create a Personal Access Token

  1. Sign in at git.masengr.com.
  2. Settings → Applications → Generate New Token
  3. Enable repo scope; copy the token.

Use the token as your password when git push asks for credentials (username = your Gitea username).


Publish (Windows)

From PowerShell:

# Step 1 — copy latest Scribd source into this repo
cd "C:\Users\Michael Sloan\Desktop\git\Scribe PDF Downloader"
.\scripts\sync-to-pdf-downloaders.ps1

# Step 2 — commit and push
cd "C:\Users\Michael Sloan\Desktop\git\PDF-Downloaders"
.\push-to-gitea.ps1

If the remote repo already has commits

Pull first, then push:

cd "C:\Users\Michael Sloan\Desktop\git\PDF-Downloaders"
git pull origin main --allow-unrelated-histories
.\push-to-gitea.ps1

Folder layout on Gitea

PDF-Downloaders/
├── README.md          ← this collection overview
├── .gitignore
├── GITEA.md
├── push-to-gitea.ps1
└── Scribd/            ← Scribd PDF Downloader (full project)
    ├── README.md
    ├── gui.py
    ├── main.py
    ├── scribd_downloader/
    └── ...

Clone on another machine

git clone https://git.masengr.com/Michael-A-Sloan/PDF-Downloaders.git
cd PDF-Downloaders/Scribd
# follow Scribd/INSTALL.md