{"id":31628314,"url":"https://github.com/victorabarros/termgifforge","last_synced_at":"2025-10-24T05:23:31.613Z","repository":{"id":274107516,"uuid":"921906241","full_name":"victorabarros/TermGIFforge","owner":"victorabarros","description":"Your Commands, Captured in Motion. On-the-Fly Terminal GIF Effortlessly Generation","archived":false,"fork":false,"pushed_at":"2025-08-31T00:41:59.000Z","size":99,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-11T22:53:17.434Z","etag":null,"topics":["gif","golang","terminal","vhs"],"latest_commit_sha":null,"homepage":"https://victor.barros.engineer/termgif","language":"Go","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/victorabarros.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-01-24T21:01:02.000Z","updated_at":"2025-08-31T00:42:02.000Z","dependencies_parsed_at":"2025-06-23T23:36:53.374Z","dependency_job_id":null,"html_url":"https://github.com/victorabarros/TermGIFforge","commit_stats":null,"previous_names":["victorabarros/terminal-gifs-api","victorabarros/termgifforge"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/victorabarros/TermGIFforge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorabarros%2FTermGIFforge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorabarros%2FTermGIFforge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorabarros%2FTermGIFforge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorabarros%2FTermGIFforge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/victorabarros","download_url":"https://codeload.github.com/victorabarros/TermGIFforge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorabarros%2FTermGIFforge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278672612,"owners_count":26025948,"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-06T02:00:05.630Z","response_time":65,"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":["gif","golang","terminal","vhs"],"created_at":"2025-10-06T20:23:15.784Z","updated_at":"2025-10-06T20:23:17.703Z","avatar_url":"https://github.com/victorabarros.png","language":"Go","funding_links":["https://www.buymeacoffee.com/victorbarros"],"categories":[],"sub_categories":[],"readme":"# TermGIFforge 👾\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/victorabarros/termgifforge)](https://goreportcard.com/report/github.com/victorabarros/termgifforge) ![GitHub License](https://img.shields.io/github/license/victorabarros/TermGIFforge)\n\n**Turn your terminal recordings into captivating GIFs effortlessly.**\nIdeal for tutorials, documentation, and sharing terminal workflows.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"http://terminalgifapi.com/api/v1/gif?commands=[%20%22Set%20FontSize%2050%22,%20%22Set%20TypingSpeed%2075ms%22,%20%22Type%20\\%22echo%20\\%22%22,%20%22Set%20TypingSpeed%20500ms%22,%20%22Type%20\\%22%27YEY\\%22%22,%20%22Set%20TypingSpeed%2075ms%22,%20%22Type%20\\%22!!!!%27\\%22%22,%20%22Sleep%20100ms%22,%20%22Enter%22,%20%22Sleep%202s%22]\"/\u003e\n  \u003cimg src=\"http://terminalgifapi.com/api/v1/gif?commands=[%22Type%20\\%22echo%20%27The%20Magic%20Happens%20Here%27\\%22%22,%22Enter%22,%22Sleep%202s%22]\"/\u003e\n\u003c/p\u003e\n\nUse this API to present creative ways of your software commands.\n\n## Table of Contents\n\n- [TermGIFforge 👾](#termgifforge-)\n  - [Table of Contents](#table-of-contents)\n  - [Instructions](#instructions)\n  - [How to run](#how-to-run)\n    - [Locally w/ docker 🐳](#locally-w-docker-)\n  - [Troubleshooting](#troubleshooting)\n  - [Contributing](#contributing)\n  - [Support](#support)\n  - [References](#references)\n\n## Instructions\n\n**TermGIFforge** uses the [VHS](https://github.com/charmbracelet/vhs) to generate the GIFs, [here you'll find the command references](https://github.com/charmbracelet/vhs?tab=readme-ov-file#vhs-command-reference) to generate your own GIFs.\nTry:\n- `http://terminalgifapi.com/api/v1/gif?commands=[\"Type \\\"echo 'The Magic Happens Here'\\\"\",\"Enter\",\"Sleep 2s\"]`\n- `http://terminalgifapi.com/api/v1/gif?commands=[\n    \"Set FontSize 50\",\n    \"Set TypingSpeed 75ms\",\n    \"Type \\\"echo \\\"\",\n    \"Set TypingSpeed 500ms\",\n    \"Type \\\"'YEY\\\"\",\n    \"Set TypingSpeed 75ms\",\n    \"Type \\\"!!!'\\\"\",\n    \"Sleep 100ms\",\n    \"Enter\",\n    \"Sleep 2s\"]`\n- `http://terminalgifapi.com/api/v1/gif?commands=[\"Type \\\"echo 'Welcome to VHS!'\\\"\",\"Enter\",\"Type \\\"ls\\\"\",\"Sleep 100ms\",\"Enter\",\"Sleep 2s\"]`\n\n\u003c!--\n- http://terminalgifapi.com/api/v1/gif?commands=[\n    \"Type \\\"echo 'How to run locally w/ Docker'\\\"\\n\",\"Sleep 400ms\",\"Enter\",\"Sleep 200ms\",\n    \"Type \\\"echo 'make build-image to build image'\\\"\\n\",\"Sleep 400ms\",\"Enter\",\"Sleep 200ms\",\n    \"Type \\\"echo 'make debug-container to start a terminal from inside the container'\\\"\\n\",\"Sleep 400ms\",\"Enter\",\"Sleep 200ms\",\n    \"Type \\\"echo 'go run cmd/server/main.go'\\\"\\n\",\"Sleep 400ms\",\"Enter\",\"Sleep 200ms\",\n    \"Sleep 2s\"]\n- http://terminalgifapi.com/api/v1/gif?commands=[\"Type \\\"echo 'Welcome to VHS!'\\\"\",\"Sleep 100ms\",\"Enter\",\"Sleep 2s\"]\n\n- http://localhost:9001/api/v1/gif?commands=[\n  \"Set FontSize 25\",\n  \"Set Height 800\",\n  \"Set TypingSpeed 80ms\",\n  \"Hide\",\n  \"Type \\\"bash btc_logo.sh\\\"\",\n  \"Enter\",\n  \"Show\",\n  \"Sleep 5s\"] --\u003e\n\n## How to run\n\n### Locally w/ docker 🐳\n\n\u003c!--\nmake build-image\nmake debug-container\ngo run cmd/server/main.go\n --\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"http://terminalgifapi.com/api/v1/gif?commands=[%20%22Type%20\\%22echo%20%27How%20to%20run%20locally%20w/%20Docker%27\\%22\\n%22,%22Sleep%20400ms%22,%22Enter%22,%22Sleep%20200ms%22,%20%22Type%20\\%22echo%20%27make%20build-image%20to%20build%20image%27\\%22\\n%22,%22Sleep%20400ms%22,%22Enter%22,%22Sleep%20200ms%22,%20%22Type%20\\%22echo%20%27make%20debug-container%20to%20start%20a%20terminal%20from%20inside%20the%20container%27\\%22\\n%22,%22Sleep%20400ms%22,%22Enter%22,%22Sleep%20200ms%22,%20%22Type%20\\%22echo%20%27go%20run%20cmd/server/main.go%27\\%22\\n%22,%22Sleep%20400ms%22,%22Enter%22,%22Sleep%20200ms%22,%20%22Sleep%202s%22]\"/\u003e\n\u003c/p\u003e\n\nThen, from browser or [Bruno](./zarf/bruno/), open:\n\n- [http://localhost:9001/api/v1/gif?commands=\\[\"Type \\\\\"echo Hi\\\\\"\",\"Enter\",\"Sleep 2s\"\\]](http://localhost:9001/api/v1/gif?commands=[\"Type%20\\\"echo%20Hi\\\"\",\"Enter\",\"Sleep%202s\"])\n\n## Troubleshooting\n\n- How to encode the URL to use in the HTML tag?\n  - Simply enter your URL to the browser and it'll parse it to you.\n- How to force image (cache) update in README.rst on GitHub?\n  - run `curl -X PURGE {url of cached badge image}` and refresh the page [(reference)](https://stackoverflow.com/questions/26898052/how-to-force-image-cache-update-in-readme-rst-on-github).\n\n## Contributing\n\nContributions are welcome! Feel free to open issues or fork the repo and submit pull requests to enhance the project.\n\n## Support\n\n\u003cp\u003e\n  \u003cimg src=\"http://terminalgifapi.com/api/v1/gif?commands=[%20%22Set%20FontSize%2060%22,%20%22Type%20\\%22I%20am%20happy%20to%20be%20honored%20with%20your%20support!%20S2S2\\%22%22,%20%22Sleep%202s%22%20]\" height=\"200px\"/\u003e\n  \u003cbr/\u003e\n  \u003cbr/\u003e\n  \u003ca href=\"https://victor.barros.engineer/support\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://bitcoin.org/img/icons/logotop.svg?1671880122\" height=\"40px\"\u003e\n  \u003c/a\u003e\n  \u003cbr/\u003e\n  \u003ca href=\"https://www.buymeacoffee.com/victorbarros\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" height=\"45px\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## References\n\n- https://github.com/charmbracelet/vhs\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003cbr/\u003e\n  Made in Brazil\n  \u003cbr/\u003e\n  \u003cimg src=\"https://github.com/victorabarros/ura-bot/blob/main/assets/BrazilFlag.png\" height=\"30px\"/\u003e\n\u003c/p\u003e\n\n\u003c!--\n## how to run in production\n\n```\n# install docker\ncurl -fsSL https://raw.githubusercontent.com/victorabarros/victorabarros/master/scripts/install_docker_ubuntu.sh | bash\n\n# install make\napt install -y make\n\n# clone project\ngit clone https://github.com/victorabarros/TermGIFforge.git\n\ncd TermGIFforge\n\ncp .env.example .env.production\n\n# write variables to .env.production\n\nmake build-image\nmake compile ENV_FILE=.env.production\nmake run-app ENV_FILE=.env.production PORT=80\n```\n --\u003e\n\n\u003c!--\n- https://github.com/anuraghazra/github-readme-stats\n- https://github.com/DenverCoder1/github-readme-streak-stats\n- https://github.com/rahuldkjain/github-profile-readme-generator\n- https://github.com/ryo-ma/github-profile-trophy\n- [![Star History Chart](https://api.star-history.com/svg?repos=getumbrel/umbrel\u0026type=Date)](https://star-history.com/#getumbrel/umbrel\u0026Date)\n--\u003e\n\n\u003c!--\nTODO\n\n- honeybadger https://app.honeybadger.io/projects/130099/install/go\n- codeclimate\n- sonar\n- improve dockerfile\n  - cmds to build image using mac or linux\n    - receive OS as arg and select script to install vhs\n  - create stage with shared volume and build project\n  - copy build to release fase\n  - entrypoint to run builded\n- implement workers to limit GIF processing at same time\n- better readme https://github.com/Azure-Samples/deepseek-azure-javascript?tab=readme-ov-file#deepseek-on-azure---javascript-demos\n- write article/post\n- post on\n  - ask friends to give star\n  - https://x.com/i/communities/1685641800449462272,\n  - gopher discord,\n  - ~gopher slack~ https://gophers.slack.com/archives/C8VFRARPY/p1738249701304709\n  - \"show HN\" (https://news.ycombinator.com/show)...\n  - msg: \"If you love the beauty of what charmbracelet have being doing for CLI tools, you'll love this.\nYou no longer needs to install VHS to create your GIFs, I just released the TermGIFforge, the VHS as an API!\"\n\n--\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorabarros%2Ftermgifforge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvictorabarros%2Ftermgifforge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorabarros%2Ftermgifforge/lists"}