{"id":18813038,"url":"https://github.com/oddsdk/dwebcamp-workshop-2023","last_synced_at":"2025-04-13T21:26:16.328Z","repository":{"id":173727523,"uuid":"651198575","full_name":"oddsdk/dwebcamp-workshop-2023","owner":"oddsdk","description":"A workshop demonstrating the ODD SDK","archived":false,"fork":false,"pushed_at":"2023-06-22T21:12:09.000Z","size":10785,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-27T11:43:41.564Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Svelte","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/oddsdk.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":"2023-06-08T18:09:44.000Z","updated_at":"2024-05-23T19:03:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"3c59df55-31ac-4665-93ea-1d8bfe7a53cb","html_url":"https://github.com/oddsdk/dwebcamp-workshop-2023","commit_stats":null,"previous_names":["oddsdk/dwebcamp-workshop-2023"],"tags_count":0,"template":true,"template_full_name":"oddsdk/causal-islands-workshop-2023","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oddsdk%2Fdwebcamp-workshop-2023","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oddsdk%2Fdwebcamp-workshop-2023/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oddsdk%2Fdwebcamp-workshop-2023/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oddsdk%2Fdwebcamp-workshop-2023/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oddsdk","download_url":"https://codeload.github.com/oddsdk/dwebcamp-workshop-2023/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248784203,"owners_count":21161073,"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-07T23:36:05.474Z","updated_at":"2025-04-13T21:26:16.321Z","avatar_url":"https://github.com/oddsdk.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fission Dwebcamp Workshop 2023\n\n[![Built by FISSION](https://img.shields.io/badge/⌘-Built_by_FISSION-purple.svg)](https://fission.codes) [![Built by FISSION](https://img.shields.io/badge/@oddjs/odd-v0.37.2-purple.svg)](https://github.com/oddsdk/ts-odd) [![Discord](https://img.shields.io/discord/478735028319158273.svg)](https://discord.gg/zAQBDEq) [![Discourse](https://img.shields.io/discourse/https/talk.fission.codes/topics)](https://talk.fission.codes)\n\nWelcome to the workshop! 👋\n\nWe'll be hacking on an app that transmogrifies avatars sending them to a new, odd dimension where you can summon them anywhere across the DWeb.\n\nThe completed workshop will include transmogrify and summon views:\n\n![Avatars transmogrify screenshot](static/avatars/transmogrify.png)\n![Avatars summon screenshot](static/avatars/summon.png)\n![Avatars summon modal screenshot](static/avatars/summon-modal.png)\n\n## Preparation\n\nPlease ensure you have installed `node` and `git` on your machine:\n\n- Install git: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git\n- Install node: https://nodejs.org/en/download\n\nIf you already have `node` installed, check that you have `v18.0.0` or newer.\n\nYou'll also want to install a code editor on your machine. We recommend [VSCode](https://code.visualstudio.com/download), but any code editor will be fine.\n\n## Running the app\n\nClone the workshop repository:\n\n```sh\ngit clone https://github.com/oddsdk/dwebcamp-workshop-2023\n```\n\nThe workshop code will be cloned into the directory where you run this command. It might be convenient to run this command from your Desktop to have the project readily available.\n\nInstall the project dependencies:\n\n```sh\ncd dwebcamp-workshop-2023\nnpm install\n```\n\nRun the app:\n\n```sh\nnpm run dev\n```\n\nOpen Chrome or Firefox, navigate to [localhost:5173](http://localhost:5173), and you should see the app running. Ask for help if you don't!\n\n## Workshop activities\n\nNow that the app is running, we can start writing some code. 🙌\n\nThe starter code implements transmogrification and an avatar gallery. Using the ODD SDK, we'll save avatars to the Webnative File System (WNFS). We'll also view our saved avatars on IPFS and explore content identifiers (CIDs).\n\nAll of the activities are in two files:\n\n- Transmogrify component: `src/routes/avatars/components/Transmogrify.svelte`\n- Summon component: `src/routes/avatars/components/Summon.svelte`\n\nThese files are [Svelte](https://svelte.dev/) components, but you will only need to write JavaScript to complete the activities. Each time you save a file, the web app should update without running another command.\n\nConnect as a new user in the app and navigate to the `Avatars` page from the sidebar.\n\nOpen the Transmogrify and Summon components in your code editor. Start with the Transmogrify component, then move on to the Summon component.\n\nEach file has activities marked with `TODO` and comments describing the activity. A few additional activities are marked `OPTIONAL ADVANCED ACTIVITY`. Save these for last, and don't worry if you don't complete them! They are advanced for a reason.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foddsdk%2Fdwebcamp-workshop-2023","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foddsdk%2Fdwebcamp-workshop-2023","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foddsdk%2Fdwebcamp-workshop-2023/lists"}