{"id":32512866,"url":"https://github.com/doriclaudino/p5.recorder","last_synced_at":"2026-04-19T18:38:30.326Z","repository":{"id":37694656,"uuid":"257132882","full_name":"doriclaudino/p5.recorder","owner":"doriclaudino","description":"record and export p5js canvas as webm, mp4, gif","archived":false,"fork":false,"pushed_at":"2023-01-06T03:49:39.000Z","size":3158,"stargazers_count":32,"open_issues_count":19,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-01-25T20:07:29.788Z","etag":null,"topics":["art","export-video","ffmpeg","javascript","mp4","p5","p5js","sketch"],"latest_commit_sha":null,"homepage":"https://editor.p5js.org/doriclaudino/sketches/LgLw5UaBr","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/doriclaudino.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":"2020-04-20T00:37:58.000Z","updated_at":"2025-06-30T12:27:34.000Z","dependencies_parsed_at":"2023-02-05T06:16:44.519Z","dependency_job_id":null,"html_url":"https://github.com/doriclaudino/p5.recorder","commit_stats":null,"previous_names":["doriclaudino/p5.record"],"tags_count":3,"template":true,"template_full_name":null,"purl":"pkg:github/doriclaudino/p5.recorder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doriclaudino%2Fp5.recorder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doriclaudino%2Fp5.recorder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doriclaudino%2Fp5.recorder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doriclaudino%2Fp5.recorder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doriclaudino","download_url":"https://codeload.github.com/doriclaudino/p5.recorder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doriclaudino%2Fp5.recorder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32018661,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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":["art","export-video","ffmpeg","javascript","mp4","p5","p5js","sketch"],"created_at":"2025-10-27T22:47:19.383Z","updated_at":"2026-04-19T18:38:30.276Z","avatar_url":"https://github.com/doriclaudino.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# p5.recorder\n\n[![NPM](https://nodei.co/npm/p5.recorder.png?downloads=true\u0026downloadRank=true\u0026stars=true)](https://nodei.co/npm/p5.recorder/)\n\n[![](https://data.jsdelivr.com/v1/package/npm/p5.recorder/badge?style=rounded)](https://www.jsdelivr.com/package/npm/p5.recorder)\n[![npm version](https://badge.fury.io/js/p5.recorder.svg)](https://badge.fury.io/js/p5.recorder)\n\n[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/doriclaudino/p5.recorder/issues)\n\n### Install (CDN)\n\n```html\n\u003c!--jsdelivr--\u003e\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/p5.recorder@0.0.7/dist/p5.recorder.js\"\u003e\u003c/script\u003e\n```\n\n### Install (NPM)\n\n```bash\nnpm install p5.drawer\nor\nyarn install p5.drawer\n```\n\nExample `using default options`:\n```javascript\nlet rec = new p5.Recorder();\nrec.start();\n\n//stop after some time\nrec.stop();\n```\n\n\nExample `using custom options`:\n```javascript\nlet autoDownloadFile = false\n\n//set to no download at the end\nlet rec = new p5.Recorder(autoDownloadFile);\n\nlet options = {\n  filename: \"my_custom_name_output.webm\",\n  recordAudio: true,\n  audioBitRate: 128000,\n  videoBitRate: ‭100000000‬ , //10 megabits\n  fps: 45,\n}\n\n//passing custom configs\nrec.start(options);\n\n//stop after some time\nrec.stop();\n\n/**\n * contains current status\n * status: {\n *   frames: 0,\n *   progress: 0,\n *   state: undefined,\n *   time: undefined,\n * }\n */\nrec.status;\n\n\n//download the file after stop\nrec.download();\n```\n\n\n\u003c/br\u003e \n\n## default options start() method:\n\n| **name** | **value**  |\n| --- | --- |\n| filename | \"p5.recorder.canvas.webm\" |\n| recordAudio | true |\n| audioBitRate | 128000 |\n| videoBitRate | 120000000 |\n| fps | 60 |\n\n\n## enable audio\nDon't forget to __CHECK__ enable audio (we are trying a better approach to capture audio-context on p5js-sound):\n\n![Image description](https://i.imgur.com/LVgEuzA.png)\n\n\n\n\n## commands\n- yarn dev\n- yarn build\n\n\n\n## still in development\n\nonly support .webm for now\n\n## for future reference\n\nhttps://editor.p5js.org/doriclaudino/sketches/LgLw5UaBr\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoriclaudino%2Fp5.recorder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoriclaudino%2Fp5.recorder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoriclaudino%2Fp5.recorder/lists"}