{"id":21242214,"url":"https://github.com/bitspittle/droidcon-sf-24","last_synced_at":"2025-03-15T04:12:08.383Z","repository":{"id":235732821,"uuid":"791114618","full_name":"bitspittle/droidcon-sf-24","owner":"bitspittle","description":"A presentation about Kobweb written in Kobweb, for Droidcon SF 24","archived":false,"fork":false,"pushed_at":"2024-05-22T18:50:38.000Z","size":74,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-22T19:56:56.657Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","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/bitspittle.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-04-24T05:56:43.000Z","updated_at":"2024-05-22T19:57:01.702Z","dependencies_parsed_at":null,"dependency_job_id":"ee88f80c-cc17-4df7-93d7-a31b70695dde","html_url":"https://github.com/bitspittle/droidcon-sf-24","commit_stats":null,"previous_names":["bitspittle/droidcon24","bitspittle/droidcon-sf-24"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitspittle%2Fdroidcon-sf-24","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitspittle%2Fdroidcon-sf-24/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitspittle%2Fdroidcon-sf-24/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitspittle%2Fdroidcon-sf-24/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitspittle","download_url":"https://codeload.github.com/bitspittle/droidcon-sf-24/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243681081,"owners_count":20330155,"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-21T00:58:43.595Z","updated_at":"2025-03-15T04:12:08.345Z","avatar_url":"https://github.com/bitspittle.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a [Kobweb project](https://github.com/varabyte/kobweb) backing a presentation I gave at Droidcon SF in June 2024.\n\nIt makes heavy use of the [`reveal.js` presentation framework](https://revealjs.com/), which is honestly some fantastic\nsoftware and worth checking out in its own right.\n\nThis presentation serves double duty -- as a guided introduction to a wide range of Kobweb features but also as an\nactual Kobweb project that curious users can poke through to learn from.\n\nSome potentially interesting things to look at...\n\n* `build.gradle.kts` has a powerful `markdown.process` method which runs through all slides, inspects their frontmatter,\n  and builds up a graph between all the slides, before finally writing all slides, ordered, into a generated\n  `components/sections/Slides.kt` source file.\n* All slides are markdown (showcasing the power of Markdown support in Kobweb); you can find them under\n  `resources/markdown/sections/`.\n* All sorts of random code can be found in `components/widgets`.\n* `components/layout/SectionLayout.kt` is named so because reveal.js associates a slide per section. We also do some\n  crazy stuff using frontmatter styles / behaviors that can optionally be specified in each slide's frontmatter, which\n  really showcases its power.\n\n\u003e [!WARNING]\n\u003e Some of the code is very ugly as parts were written under a fair bit of time pressure. So treat it as more a curiosity\n\u003e than any strict sense of Kobweb best practices.\n\n### Running\n\nIf you've cloned this project locally and would like to run it yourself, then run the following commands:\n\n```bash\n$ cd site\n$ kobweb run\n```\n\nOnce running, open [http://localhost:8080/droidcon-sf-24](http://localhost:8080/droidcon-sf-24) in your browser to see\nthe result.\n\n### Configuring\n\nThere are a few features that you can configure, by opening up `gradle.properties` and changing their values.\n\n```properties\n# If true, label the current slide number in the bottom right corner.\n# This makes it easier to jump to slides by shortcut,\n# i.e. press `G` followed by the slide number you want to go to.\n# The label is a little ugly but it is very useful for dev mode.\nslides.show.number=false\n\n# If true, every slide you visit will be saved into local storage and\n# then restored on refresh. This makes it so you can keep seeing the\n# same slide when Kobweb refreshes your screen.\nslides.remember.last=false\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitspittle%2Fdroidcon-sf-24","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitspittle%2Fdroidcon-sf-24","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitspittle%2Fdroidcon-sf-24/lists"}