{"id":38915775,"url":"https://github.com/raideno/pdf-liner","last_synced_at":"2026-01-17T15:26:14.880Z","repository":{"id":322588246,"uuid":"1082421664","full_name":"raideno/pdf-liner","owner":"raideno","description":"Add equally spaced horizontal lines to a pdf document for easy notes taking.","archived":false,"fork":false,"pushed_at":"2026-01-16T10:24:25.000Z","size":39,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-16T23:58:18.579Z","etag":null,"topics":["pdf","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raideno.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-24T08:07:36.000Z","updated_at":"2026-01-16T10:24:30.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/raideno/pdf-liner","commit_stats":null,"previous_names":["raideno/pdf-liner"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/raideno/pdf-liner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raideno%2Fpdf-liner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raideno%2Fpdf-liner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raideno%2Fpdf-liner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raideno%2Fpdf-liner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raideno","download_url":"https://codeload.github.com/raideno/pdf-liner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raideno%2Fpdf-liner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28511443,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pdf","python"],"created_at":"2026-01-17T15:26:14.722Z","updated_at":"2026-01-17T15:26:14.853Z","avatar_url":"https://github.com/raideno.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PDF Liner\n\nA simple Python tool that adds equally spaced horizontal lines to PDF files, making them perfect for printing and handwriting and taking notes on them.\n\n## Installation\n\n### Install from PyPI (Recommended)\n\nInstall pdf-liner directly from PyPI:\n\n```bash\npip install pdf-liner\n```\n\nOr using pipx for isolated installation:\n\n```bash\npipx install pdf-liner\n```\n\n### Install from Source\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/raideno/pdf-liner.git\ncd pdf-liner\n```\n\n2. Install using Poetry:\n```bash\npoetry install\n```\n\nOr install in development mode using pip:\n```bash\npip install -e .\n```\n\n## Usage\n\nOnce installed, you can use the `pdf-liner` command from anywhere:\n\n```bash\npdf-liner input.pdf\n```\n\nThis will create `input_lined.pdf` with default settings (20-point spacing, 0.25 opacity).\n\n### Specify Output File\n\n```bash\npdf-liner input.pdf -o output.pdf\n# or\npdf-liner input.pdf --output output.pdf\n```\n\n### Customize Line Spacing and Opacity\n\n```bash\npdf-liner input.pdf -o output.pdf -s 25 -a 0.2\n# or\npdf-liner input.pdf --output output.pdf --line-spacing 25 --opacity 0.2\n```\n\n- `-s` or `--line-spacing`: Space between lines in points (default: 20)\n- `-a` or `--opacity`: Line opacity from 0.0 to 1.0 (default: 0.25)\n\n### Enhance Bottom Lines for Better Printing\n\nSome printers tend to fade lines at the bottom of pages. Use the `-e` option to make the bottom lines thicker and darker:\n\n```bash\npdf-liner input.pdf -e 5\n# or\npdf-liner input.pdf --enhance-bottom-lines 5\n```\n\n- `-e` or `--enhance-bottom-lines`: Number of bottom lines to enhance (default: 3, set to 0 to disable)\n\n### Add Padding Pages\n\nAdd a blank lined page after each page:\n\n```bash\npdf-liner input.pdf -p\n# or\npdf-liner input.pdf --padding\n```\n\n### Get Help\n\n```bash\npdf-liner -h\n# or\npdf-liner --help\n```\n\n## Parameters\n\n- **input_pdf** (required) - Path to the input PDF file\n- **-o, --output** (optional) - Path for the output file (default: `input_lined.pdf`)\n- **-s, --line-spacing** (optional) - Space between lines in points (default: 20)\n- **-a, --opacity** (optional) - Line opacity from 0.0 to 1.0 (default: 0.25)\n- **-e, --enhance-bottom-lines** (optional) - Number of bottom lines to enhance for better printing (default: 3)\n- **-p, --padding** (optional) - Adds a white page with lines after each page\n\n## Development\n\n### Requirements\n\n- Python 3.9+\n- Poetry\n\n### Setup Development Environment\n\n```bash\n# Install Poetry if you haven't already\npip install poetry\n\n# Install dependencies\npoetry install\n\n# Run the tool\npoetry run pdf-liner input.pdf\n```\n\n### Build the Package\n\n```bash\npoetry build\n```\n\nThis will create distribution files in the `dist/` directory.\n\n## Publishing\n\nThe package is automatically published to PyPI when a new release is created on GitHub. The workflow uses the `PYPI_API_TOKEN` secret configured in the repository.\n\nTo publish manually:\n\n```bash\npoetry config pypi-token.pypi YOUR_PYPI_TOKEN\npoetry publish --build\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraideno%2Fpdf-liner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraideno%2Fpdf-liner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraideno%2Fpdf-liner/lists"}