{"id":18727033,"url":"https://github.com/607011/flippy","last_synced_at":"2025-07-04T13:06:48.245Z","repository":{"id":52944410,"uuid":"51021024","full_name":"607011/flippy","owner":"607011","description":"Generate flip-books from videos and animated GIFs","archived":false,"fork":false,"pushed_at":"2022-12-25T11:59:36.000Z","size":1411,"stargazers_count":7,"open_issues_count":9,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T16:51:51.655Z","etag":null,"topics":["animated-gifs","flip-books","flipbook","fpdf","frame","python","python3"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/607011.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-03T18:30:45.000Z","updated_at":"2025-02-12T00:48:03.000Z","dependencies_parsed_at":"2023-01-30T22:00:54.285Z","dependency_job_id":null,"html_url":"https://github.com/607011/flippy","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/607011/flippy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/607011%2Fflippy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/607011%2Fflippy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/607011%2Fflippy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/607011%2Fflippy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/607011","download_url":"https://codeload.github.com/607011/flippy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/607011%2Fflippy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263548654,"owners_count":23478808,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["animated-gifs","flip-books","flipbook","fpdf","frame","python","python3"],"created_at":"2024-11-07T14:16:11.167Z","updated_at":"2025-07-04T13:06:48.224Z","avatar_url":"https://github.com/607011.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flippy\n\nGenerate flip-books from videos and animated GIFs\n\n## Prerequisites\n\n - Python 3 or later\n - Pillow 3.x\n - FPDF 1.7.x or later\n \n## Download code\n\n[Download flippy.py](https://raw.githubusercontent.com/ola-ct/flippy/master/flippy.py) from the\n[flippy repository](https://github.com/ola-ct/flippy), or do\n\n```\ngit clone https://github.com/ola-ct/flippy.git\n```\n\nto clone the repository into a local folder.\n\n## Installation\n\n### macOS\n\nYou want to install [Brew](https://brew.sh) package manager first:\n\n```\n/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)\"\n```\n\nThen install pipenv to host a virtual environment:\n\n```\nbrew install pipenv\n```\n\nEnter the project's directory and install the required modules into Pipenv's virtual environment:\n\n```\ncd flippy\npipenv install\n```\n\nYou can now run flippy as shown below from inside the Pipenv shell (`pipenv shell`).\n\n### Linux\n\nInstall [Pipenv](https://github.com/pypa/pipenv) with your distribution specific package manager.\n\nEnter the project's directory and install the required modules into Pipenv's virtual environment:\n\n```\ncd flippy\npipenv install\n```\n\nYou can now run flippy as shown below from inside the Pipenv shell (`pipenv shell`).\n\n## Usage\n\n### General usage\n\n```\nflippy.py \n  [-h] [--help]\n  --input INPUT\n  --output OUTPUT\n  --height HEIGHT\n  --paper {a2,a3,a4,a5,letter,legal}\n  --offset\n  --dpi DPI\n  --fps FPS\n```\n\n`INPUT`: filename of video or GIF image to be converted\n\n`OUTPUT`: name of file to write PDF to\n\n`HEIGHT`: Height of flip-book (default: 30.0 mm)\n\n`PAPER`: paper format (default: a3); only valid for PDF output\n\n`OFFSET`: Margin left to each frame (default: 15.0 mm)\n \n`DPI`: convert video/GIF to the given resolution in dots per inch (default: 200 dpi)\n \n`FPS`: convert video/GIF to this many frames per second before PDF generation (default: 10 fps)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F607011%2Fflippy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F607011%2Fflippy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F607011%2Fflippy/lists"}