{"id":18440775,"url":"https://github.com/hermit-os/tutorial","last_synced_at":"2025-08-30T23:42:06.217Z","repository":{"id":39713755,"uuid":"507105558","full_name":"hermit-os/tutorial","owner":"hermit-os","description":" https://hermitcore.github.io/tutorial/","archived":false,"fork":false,"pushed_at":"2023-03-06T13:02:33.000Z","size":2952,"stargazers_count":0,"open_issues_count":6,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-25T02:39:31.268Z","etag":null,"topics":["tutorial","unikernels"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hermit-os.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-06-24T18:18:09.000Z","updated_at":"2022-06-26T17:57:11.000Z","dependencies_parsed_at":"2023-08-30T16:41:45.103Z","dependency_job_id":null,"html_url":"https://github.com/hermit-os/tutorial","commit_stats":null,"previous_names":["hermit-os/tutorial","hermitcore/tutorial"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hermit-os/tutorial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hermit-os%2Ftutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hermit-os%2Ftutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hermit-os%2Ftutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hermit-os%2Ftutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hermit-os","download_url":"https://codeload.github.com/hermit-os/tutorial/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hermit-os%2Ftutorial/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272921815,"owners_count":25015764,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"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":["tutorial","unikernels"],"created_at":"2024-11-06T06:33:05.508Z","updated_at":"2025-08-30T23:42:06.160Z","avatar_url":"https://github.com/hermit-os.png","language":"JavaScript","readme":"# RustyHermit Tutorial\n\nThis repository contains a RustyHermit tutorial and a small web server to make the slides available.\n\nPlease read the README of [RustyHermit](https://github.com/hermitcore/rusty-hermit-rs) for more information about RustyHermit.\n\n\n## Requirements\n\n* [`rustup`](https://www.rust-lang.org/tools/install)\n* [NASM](https://nasm.us/) (only for x86_64)\n* [QEMU](https://www.qemu.org/) for running the web server\n* [Bundler](https://bundler.io) to build the slides\n* The build managment system `make`\n\n\n## Usage\n\n### Build slides\n\n```\n$ cd slides\n$ make\n$ cd ..\n```\n\n### Build bootloader\n\n```\n$ cd loader\n$ cargo xtask build --arch x86_64 --release\n$ cd ..\n```\n\n### Build RustyHermit web server\n\n``` \n$ cargo build \\\n    -Zbuild-std=core,alloc,std,panic_abort \\\n    -Zbuild-std-features=compiler-builtins-mem \\\n    --target x86_64-unknown-hermit \\\n    --release\n```\n\n\n### Run web server\n\n```\n$ qemu-system-x86_64 \\\n    -cpu qemu64,apic,fsgsbase,fxsr,rdrand,rdtscp,xsave,xsaveopt \\\n    -smp 1 -m 512M \\\n    -device isa-debug-exit,iobase=0xf4,iosize=0x04 \\\n    -display none -serial stdio \\\n    -kernel loader/target/x86_64/release/rusty-loader \\\n    -initrd target/x86_64-unknown-hermit/release/hello_world\n```\n\n### Read the tutorial\n\nOpen `http://127.0.0.1:9975/` with your browser and read the tutorial.\n\n## License\n\nText and pictures are licensed by http://creativecommons.org/licenses/by-nc-sa/3.0/de/[Creative Commons BY-NC-SA 3.0 DE]\n\nSource code licensed under either of\n\n* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhermit-os%2Ftutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhermit-os%2Ftutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhermit-os%2Ftutorial/lists"}