{"id":51861309,"url":"https://github.com/isakruas/ikos","last_synced_at":"2026-07-24T07:30:29.025Z","repository":{"id":366261392,"uuid":"1275416888","full_name":"isakruas/ikos","owner":"isakruas","description":"A small multitasking kernel written in the ik language for 8-bit AVR. It boots into an interactive shell over the UART with a small scripting language, a filesystem on EEPROM, and commands for files, processes, memory, GPIO and the serial buses (UART/SPI/I2C/ADC).","archived":false,"fork":false,"pushed_at":"2026-06-21T01:31:52.000Z","size":97,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-21T03:14:00.278Z","etag":null,"topics":["8-bit","avr","bare-metal","cooperative-multitasking","embedded","filesystem","hobby-os","kernel","microcontroller","multitasking","operating-system","osdev","shell"],"latest_commit_sha":null,"homepage":"https://isakruas.github.io/ikos/","language":"Ioke","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/isakruas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"isakruas"}},"created_at":"2026-06-20T16:56:43.000Z","updated_at":"2026-06-21T01:31:56.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/isakruas/ikos","commit_stats":null,"previous_names":["isakruas/ikos"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/isakruas/ikos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isakruas%2Fikos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isakruas%2Fikos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isakruas%2Fikos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isakruas%2Fikos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/isakruas","download_url":"https://codeload.github.com/isakruas/ikos/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isakruas%2Fikos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35832970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-24T02:00:07.870Z","response_time":62,"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":["8-bit","avr","bare-metal","cooperative-multitasking","embedded","filesystem","hobby-os","kernel","microcontroller","multitasking","operating-system","osdev","shell"],"created_at":"2026-07-24T07:30:28.479Z","updated_at":"2026-07-24T07:30:29.015Z","avatar_url":"https://github.com/isakruas.png","language":"Ioke","funding_links":["https://github.com/sponsors/isakruas"],"categories":[],"sub_categories":[],"readme":"\u003c!-- Copyright (C) 2026 The ikOS Authors. SPDX-License-Identifier: GPL-3.0-or-later --\u003e\n\n# ikOS\n\nA small multitasking kernel written in the **ik** language for 8-bit AVR. It\nboots into an interactive shell over the UART with a small scripting language, a\nfilesystem on EEPROM, and commands for files, processes, memory, GPIO and the\nserial buses (UART/SPI/I2C/ADC).\n\nMeet **Iki**, the ikOS mascot — an ant. Ants are tiny yet accomplish great\nfeats by working together: no ant is in charge, each does its part and yields to\nthe colony. That is ikOS — a kernel small enough for 32 KB where processes are\nscheduled cooperatively, each yielding the CPU to the others so the whole system\ndoes real work.\n\n```\n       \\   /\n      (o o)\n   ==(=======)==\n      / | | \\\n```\n\nTargets `atmega32` and `atmega328p`, selected at the top of `boot.ik`. The SRAM\nmap in `kernel/memory.ik` fits both, and `arch/timer.ik` is a small per-target\nHAL (a `? target == ...` block per device); adding another AVR means adding its\ntimer block there.\n\n## Build \u0026 run\n\n```sh\ngit submodule update --init --recursive\nmake toolchain        # build the ik8b compiler in the submodule (once, after clone)\nmake build            # compile to build/boot.hex\nmake run              # compile and simulate\nmake test             # run the Rhai test suite (tests/*.rhai) via the IDE runner\n```\n\nRun from this directory so the `import` paths resolve. Drive the shell over the\nUART at **9600 baud**; type `help` to list commands.\n\n## Documentation\n\nThe full manual (user guide, kernel internals, command reference) is a Sphinx\nproject under [`docs/`](docs/) — build it with `cd docs \u0026\u0026 make html`.\n\n## Layout\n\n```\nboot.ik              entry: banner, init subsystems, start shell, run scheduler\nconfig.ik            tunables (process count, baud)\narch/cpu.ik          critical sections, context switch + stack bootstrap\narch/timer.ik        Timer0 tick driving uptime/sleep\ndrivers/serial.ik    UART console I/O, boot banner\ndrivers/bus.ik       SPI / I2C / ADC commands\nkernel/memory.ik     SRAM map\nkernel/sched.ik      process table + scheduler\nkernel/syscall.ik    yield / sleep / exit\nfs/block.ik          block-storage layer (device 0/1 = EEPROM partitions, 2 = I2C)\nfs/mount.ik          mount table (a directory redirects to another device)\nfs/treefs.ik         hierarchical filesystem (directory tree over a block device)\nshell/shell.ik       line editor + REPL\nshell/script.ik      variables, arithmetic, if/repeat\nshell/commands.ik    command interpreter + script runner\n```\n\n## License\n\nikOS is free software, licensed under the **GNU General Public License v3.0 or\nlater** (GPL-3.0-or-later). See [LICENSE](LICENSE) for the full text.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisakruas%2Fikos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisakruas%2Fikos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisakruas%2Fikos/lists"}