Files
PDF-Downloaders/GITEA.md
T

2.0 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/
    └── ...

CI builds (Actions)

Workflows in .gitea/workflows/ build Windows, macOS, and Linux packages on push to main.

  1. Enable Actions for the repo on git.masengr.com.
  2. Ensure runners exist with labels ubuntu-latest, windows-latest, macos-latest.
  3. Open Actions → Build Scribd → Run workflow (or push changes under Scribd/).
  4. Download artifacts from the completed run.

Details: Scribd/BUILD.md


Clone on another machine

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