{"id":24468730,"url":"https://github.com/diffusionstudio/examples","last_synced_at":"2025-05-07T01:08:59.269Z","repository":{"id":255637826,"uuid":"851552522","full_name":"diffusionstudio/examples","owner":"diffusionstudio","description":"Programmatic video editing examples.","archived":false,"fork":false,"pushed_at":"2025-04-18T09:47:55.000Z","size":35783,"stargazers_count":10,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-07T01:08:44.399Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://examples.diffusion.studio","language":"TypeScript","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/diffusionstudio.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-09-03T09:56:08.000Z","updated_at":"2025-04-19T05:06:45.000Z","dependencies_parsed_at":"2025-02-19T00:31:49.042Z","dependency_job_id":null,"html_url":"https://github.com/diffusionstudio/examples","commit_stats":null,"previous_names":["diffusionstudio/examples"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diffusionstudio%2Fexamples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diffusionstudio%2Fexamples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diffusionstudio%2Fexamples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diffusionstudio%2Fexamples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diffusionstudio","download_url":"https://codeload.github.com/diffusionstudio/examples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252793648,"owners_count":21805057,"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":"2025-01-21T07:13:02.818Z","updated_at":"2025-05-07T01:08:59.239Z","avatar_url":"https://github.com/diffusionstudio.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cbr/\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./assets/icon.png\" alt=\"Library Icon\" width=\"164\" height=\"164\" /\u003e\n  \u003ch1 align=\"center\"\u003eDiffusion Studio\u003c/h1\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Made with-Typescript-blue?color=000000\u0026logo=typescript\u0026logoColor=ffffff\" alt=\"Static Badge\"\u003e\n  \u003ca href=\"https://vitejs.dev\"\u003e\u003cimg src=\"https://img.shields.io/badge/Powered%20by-Vite-000000?style=flat\u0026logo=Vite\u0026logoColor=ffffff\" alt=\"powered by vite\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://discord.gg/zPQJrNGuFB\"\u003e\u003cimg src=\"https://img.shields.io/discord/1115673443141156924?style=flat\u0026logo=discord\u0026logoColor=fff\u0026color=000000\" alt=\"discord\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://x.com/diffusionstudi0\"\u003e\u003cimg src=\"https://img.shields.io/badge/Follow for-Updates-blue?color=000000\u0026logo=X\u0026logoColor=ffffff\" alt=\"Static Badge\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cbr/\u003e\n\n# Diffusion Studio Examples\n\nThis repository contains example projects built using [Diffusion Studio](https://github.com/diffusionstudio/core). This is an ideal starting point for exploring Diffusion Studio, if you prefer learning from code examples rather than detailed documentation.\n\n## `/simple`\n\nThis project is powered by Vite (vanilla TypeScript). To begin, navigate to the project directory:\n\n```sh\ncd simple\n```\n\nInstall the required dependencies:\n\n```sh\nnpm install\n```\n\nNext, start the development server:\n\n```sh\nnpm run dev\n```\n\nYou can now open `http://localhost:5173/` in your browser (preferably Chromium-based).\n\nIn the `/src/compositions` directory, you will find an example script that you can modify. You can comfortably load assets by placing them in the `/public` directory. For instance:\n\n```typescript\nconst video = await VideoSource.from('/drone_footage_1080p_25fps.mp4');\n```\n\n\u003e Since Vite supports hot module reloading, your composition will automatically update as you save your changes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiffusionstudio%2Fexamples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiffusionstudio%2Fexamples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiffusionstudio%2Fexamples/lists"}