{"id":13510435,"url":"https://github.com/eerimoq/monolinux","last_synced_at":"2025-08-24T17:33:13.048Z","repository":{"id":46730822,"uuid":"186884940","full_name":"eerimoq/monolinux","owner":"eerimoq","description":"Create embedded Linux systems with a single statically linked executable.","archived":false,"fork":false,"pushed_at":"2020-07-08T09:02:25.000Z","size":462,"stargazers_count":329,"open_issues_count":0,"forks_count":17,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-04-10T01:14:30.381Z","etag":null,"topics":["embedded","linux"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/eerimoq.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2019-05-15T18:49:35.000Z","updated_at":"2025-03-28T00:21:21.000Z","dependencies_parsed_at":"2022-07-26T10:18:13.319Z","dependency_job_id":null,"html_url":"https://github.com/eerimoq/monolinux","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eerimoq/monolinux","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eerimoq%2Fmonolinux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eerimoq%2Fmonolinux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eerimoq%2Fmonolinux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eerimoq%2Fmonolinux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eerimoq","download_url":"https://codeload.github.com/eerimoq/monolinux/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eerimoq%2Fmonolinux/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271914657,"owners_count":24843180,"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-24T02:00:11.135Z","response_time":111,"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":["embedded","linux"],"created_at":"2024-08-01T02:01:38.907Z","updated_at":"2025-08-24T17:33:13.003Z","avatar_url":"https://github.com/eerimoq.png","language":"Makefile","funding_links":[],"categories":["Makefile","Inactive","linux","Uncategorized"],"sub_categories":["Custom","Uncategorized"],"readme":"Monolinux\n=========\n\nCreate embedded Linux systems with a single statically linked\nexecutable, because smaller is better!\n\nMonolinux is primarily targeting the `C` programming language.\n\nFeatures:\n\n- Everything the `Linux kernel`_ provides.\n\n  - File systems.\n\n  - Networking.\n\n  - Device drivers.\n\n  - ...\n\n- Libraries to statically link with your application.\n\n  - `async`_ (asynchronous framework)\n\n  - `bitstream`_ (bit packing and unpacking)\n\n  - `bunga`_ (OAM over TCP/IP)\n\n  - `curl`_ (HTTP, FTP, ...)\n\n  - `dbg-macro`_ (printf debugging)\n\n  - `detools`_ (delta encoding)\n\n  - `heatshrink`_ (a compression algorithm)\n\n  - `humanfriendly`_ (various utilities)\n\n  - `mbedTLS`_ (TLS, SSL, crypto, ...)\n\n  - `messi`_ (message passing in distributed systems)\n\n  - `monolinux-c-library`_ (the Monolinux C library)\n\n  - `pbtools`_ (Google Protocol Buffers)\n\n  - `xz`_ (LZMA)\n\n  - `zlib`_\n\nCreating a project\n==================\n\nA minimal Monolinux project's file tree looks like below. Add needed\nsoftware packages to the `3pp` folder.\n\n.. code-block:: text\n\n   my-project/\n   ├── 3pp/\n   │   ├── arm-linux-musleabi-cross.tgz  - a toolchain (if needed)\n   │   ├── linux/                        - the linux kernel\n   │   └── monolinux/                    - this repository as a submodule\n   ├── app/                              - your application\n   │   ├── main.c\n   │   └── Makefile\n   ├── LICENSE\n   ├── Makefile\n   └── setup.sh                          - development environment setup script\n\nHere are more example projects:\n\n- `An Monolinux example project`_\n\n- `Monolinux Raspberry Pi 3`_\n\n- `Monolinux Jiffy`_\n\nTips and tricks\n===============\n\nSee ``man procfs`` for details of the following commands.\n\n.. code-block:: shell\n\n   $ cat /proc/devices\n   $ cat /proc/meminfo\n   $ cat /proc/modules\n   $ cat /proc/net/arp\n   $ cat /proc/net/dev\n   $ cat /proc/net/protocols\n   $ cat /proc/net/route\n   $ cat /proc/uptime\n   $ cat /proc/version\n   $ cat /proc/mounts\n\nDisk commands.\n\n.. code-block:: shell\n\n   $ ls /sys/block\n   $ mount /dev/sda1 /mnt/disk ext4\n   $ ls /mnt/disk\n   $ cat /mnt/disk/README\n\nConfiguration.\n\n.. code-block:: shell\n\n   # DNS.\n   $ cat /etc/resolv.conf\n\nDevice tree.\n\n.. code-block:: shell\n\n   $ cat /sys/firmware/devicetree/base/...\n\n.. _Linux kernel: https://www.kernel.org/\n\n.. _async: https://github.com/eerimoq/async\n\n.. _bitstream: https://github.com/eerimoq/bitstream\n\n.. _bunga: https://github.com/eerimoq/bunga\n\n.. _curl: https://curl.haxx.se/\n\n.. _dbg-macro: https://github.com/eerimoq/dbg-macro\n\n.. _detools: https://github.com/eerimoq/detools\n\n.. _heatshrink: https://github.com/atomicobject/heatshrink\n\n.. _humanfriendly: https://github.com/eerimoq/humanfriendly\n\n.. _mbedTLS: https://tls.mbed.org/\n\n.. _messi: https://github.com/eerimoq/messi\n\n.. _monolinux-c-library: https://github.com/eerimoq/monolinux-c-library\n\n.. _pbtools: https://github.com/eerimoq/pbtools\n\n.. _xz: https://tukaani.org/xz/\n\n.. _zlib: https://zlib.net/\n\n.. _An Monolinux example project: https://github.com/eerimoq/monolinux-example-project\n\n.. _Monolinux Raspberry Pi 3: https://github.com/eerimoq/monolinux-raspberry-pi-3\n\n.. _Monolinux Jiffy: https://github.com/eerimoq/monolinux-jiffy\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feerimoq%2Fmonolinux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feerimoq%2Fmonolinux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feerimoq%2Fmonolinux/lists"}