{"id":28395047,"url":"https://github.com/fxembed/fastgif","last_synced_at":"2025-10-08T12:58:43.367Z","repository":{"id":285327241,"uuid":"957744028","full_name":"FxEmbed/fastgif","owner":"FxEmbed","description":"A service to quickly turn X/Twitter mp4s into GIFs","archived":false,"fork":false,"pushed_at":"2025-04-01T10:06:45.000Z","size":50,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-27T01:38:45.053Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FxEmbed.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-31T03:42:30.000Z","updated_at":"2025-05-17T15:02:12.000Z","dependencies_parsed_at":"2025-06-27T01:32:07.044Z","dependency_job_id":"4b030e98-fb21-4eb5-9df5-d2f3bb5305ac","html_url":"https://github.com/FxEmbed/fastgif","commit_stats":null,"previous_names":["fxembed/fastgif"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FxEmbed/fastgif","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FxEmbed%2Ffastgif","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FxEmbed%2Ffastgif/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FxEmbed%2Ffastgif/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FxEmbed%2Ffastgif/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FxEmbed","download_url":"https://codeload.github.com/FxEmbed/fastgif/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FxEmbed%2Ffastgif/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278948022,"owners_count":26073748,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-05-31T19:11:22.842Z","updated_at":"2025-10-08T12:58:43.350Z","avatar_url":"https://github.com/FxEmbed.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FxEmbed FastGIF\n\nA Rust-based service to quickly convert X/Twitter mp4s to GIFs on the fly\n\nBasically, how this works is:\n- You pass along video.twimg.com URLs\n- Your video is downloaded and converted into raw yuv4mpegpipe using FFmpeg\n- [gifski](https://github.com/ImageOptim/gifski) takes the video piped into it and converts it into a GIF\n- The resulting GIF is transferred back to the client as soon as it's done\n\n## Installation (easy mode)\n\n[just use the docker image :D](https://github.com/FxEmbed/fastgif/pkgs/container/fastgif)\n\n## Installation (hard mode)\n\n## Dependencies\n\n- Rust (latest stable version)\n- FFmpeg (must be installed and available in PATH)\n- gifski (must be installed and available in PATH)\n\n#### FFmpeg\n\n**macOS:**\n```bash\nbrew install ffmpeg\n```\n\n**Ubuntu/Debian:**\n```bash\nsudo apt update\nsudo apt install ffmpeg\n```\n\n#### gifski\n\n**macOS:**\n```bash\nbrew install gifski\n```\n\n**Ubuntu/Debian:**\n```bash\ncargo install gifski\n```\n\n### Build and Run\n\n1. Clone the repository\n2. Build the project:\n```bash\ncargo build --release\n```\n3. Run the server:\n```bash\ncargo run --release\n```\n\nThe server will start on http://localhost:3000\n\n## Usage\n\nTo convert a Twitter video to GIF, make a GET request to:\n\n```\nhttp://localhost:3000/{twitter_video_path}\n```\n\nFor example, if the original Twitter video URL is:\n```\nhttps://video.twimg.com/tweet_video/FfyEjQ_WIAAd7rg.mp4\n```\n\nYou would request:\n```\nhttp://localhost:3000/tweet_video/FfyEjQ_WIAAd7rg.mp4\n```\n\nThe server will respond with a GIF of the video.\n\n## Configuration\n\nThe server runs on port 3000 by default. You can customize it using the PORT environment variable.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffxembed%2Ffastgif","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffxembed%2Ffastgif","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffxembed%2Ffastgif/lists"}