{"id":18664930,"url":"https://github.com/mazkdevf/animate-code-lib","last_synced_at":"2025-11-06T10:30:34.188Z","repository":{"id":220741535,"uuid":"752478468","full_name":"mazkdevf/animate-code-lib","owner":"mazkdevf","description":"A convenient tool to export code arrays to video files, mirroring the website's functionality.","archived":false,"fork":false,"pushed_at":"2024-02-04T00:38:36.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-27T17:27:55.670Z","etag":null,"topics":["animate-code","animate-codecom","animatecode","animatecodecom","animatecodelib","codeanimation","javascript","library"],"latest_commit_sha":null,"homepage":"https://www.animate-code.com/","language":"JavaScript","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/mazkdevf.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}},"created_at":"2024-02-04T00:31:48.000Z","updated_at":"2024-02-04T00:47:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"400319ed-0f70-4ef7-aced-8eae54c1e48e","html_url":"https://github.com/mazkdevf/animate-code-lib","commit_stats":null,"previous_names":["mazkdevf/animate-code-lib"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazkdevf%2Fanimate-code-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazkdevf%2Fanimate-code-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazkdevf%2Fanimate-code-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazkdevf%2Fanimate-code-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mazkdevf","download_url":"https://codeload.github.com/mazkdevf/animate-code-lib/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239491500,"owners_count":19647840,"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":["animate-code","animate-codecom","animatecode","animatecodecom","animatecodelib","codeanimation","javascript","library"],"created_at":"2024-11-07T08:25:31.635Z","updated_at":"2025-11-06T10:30:32.449Z","avatar_url":"https://github.com/mazkdevf.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Animate Code Exporter LIB\n\nThis lib is like a handy helper for [animate-code.com](https://www.animate-code.com), created by [Josh](https://github.com/joschan21). It makes exporting code to a video super easy, just like how you do it on the website.\n\nYou can also check out how it works by watching this [YouTube video](https://youtu.be/OXk6Eabu7uM?si=AxkItQ6-oyZR1i1b).\n\n## Usage\n\n```javascript\nconst animateCodeLib = require(\"./animateCode\");\nconst animateCode = new animateCodeLib();\n\nasync function main() {\n    console.clear();\n    \n    let decorativeFileName = \"test.py\";\n    let slideContents = [\n        \"print('')\",\n        \"print('Hello, World!')\",\n    ];\n\n    slideContents = slideContents.map(slideContent =\u003e Buffer.from(slideContent).toString(\"base64\"));\n\n    await animateCode.automaticExport(decorativeFileName, slideContents);\n}\n\nmain();\n```\n\nBy running this script, a file with the name `{randomizedId}.mp4` will be generated in the same directory as the script itself.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmazkdevf%2Fanimate-code-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmazkdevf%2Fanimate-code-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmazkdevf%2Fanimate-code-lib/lists"}