{"id":19805648,"url":"https://github.com/remirobert/rrgif","last_synced_at":"2025-07-10T02:37:14.878Z","repository":{"id":34627739,"uuid":"38577503","full_name":"remirobert/RRGif","owner":"remirobert","description":"A Swift script for encode an animated gif.","archived":false,"fork":false,"pushed_at":"2015-07-05T17:41:59.000Z","size":132,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T17:53:55.257Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/remirobert.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":"2015-07-05T17:25:34.000Z","updated_at":"2015-07-05T17:28:14.000Z","dependencies_parsed_at":"2022-09-14T17:30:44.530Z","dependency_job_id":null,"html_url":"https://github.com/remirobert/RRGif","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/remirobert/RRGif","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remirobert%2FRRGif","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remirobert%2FRRGif/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remirobert%2FRRGif/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remirobert%2FRRGif/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/remirobert","download_url":"https://codeload.github.com/remirobert/RRGif/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remirobert%2FRRGif/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264519717,"owners_count":23621857,"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":[],"created_at":"2024-11-12T09:04:48.796Z","updated_at":"2025-07-10T02:37:14.856Z","avatar_url":"https://github.com/remirobert.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RRGif\nA Swift script which allows you to encode an animated gif.\n\nScripting in Swift\n==================\n\nFirst add a Shebang in the .swift file:\n\n```Shell\n#!/usr/bin/swift\n```\n\nThis line essentially launches the swift REPL first so that rest of your file actually compiles in a swift environment.\n\nThe cool part with scripting in Swift is that you can even import frameworks like Foundation as well. Anything you can do with Foundation, you can put into a script. This includes File I/O, string manipulation, and more.\n\nswiftc\n======\n\nyou could also use the swift compiler in Terminal, swiftc (only as of Xcode 6.1 and on Yosemite), to compile your swift files into an executable binary. \n\n```Shell\nswiftc RRGif.swift -o gif\n```\n\nNext you can move the binary, to use it like a command everywhere.\n```Shell\nsudo cp gif /usr/bin\n```\n\nHow to use RRGif\n================\n```Shell\n./RRGif.swift --images *.png --delay 1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremirobert%2Frrgif","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fremirobert%2Frrgif","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremirobert%2Frrgif/lists"}