{"id":22960327,"url":"https://github.com/stringmanolo/dev-small","last_synced_at":"2025-07-02T21:32:43.001Z","repository":{"id":95119401,"uuid":"471436963","full_name":"StringManolo/dev-small","owner":"StringManolo","description":"dev version of small","archived":false,"fork":false,"pushed_at":"2022-03-21T03:46:02.000Z","size":85167,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T02:46:57.986Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StringManolo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-03-18T16:18:01.000Z","updated_at":"2022-03-18T16:19:24.000Z","dependencies_parsed_at":"2023-04-01T06:51:33.856Z","dependency_job_id":null,"html_url":"https://github.com/StringManolo/dev-small","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/StringManolo/dev-small","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StringManolo%2Fdev-small","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StringManolo%2Fdev-small/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StringManolo%2Fdev-small/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StringManolo%2Fdev-small/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StringManolo","download_url":"https://codeload.github.com/StringManolo/dev-small/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StringManolo%2Fdev-small/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263218243,"owners_count":23432456,"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-12-14T18:32:59.860Z","updated_at":"2025-07-02T21:32:42.949Z","avatar_url":"https://github.com/StringManolo.png","language":"Shell","readme":"# small\n\nDev-Small is a dev-version of small, s tiny userland distro. This is the aarch64 version patched to run with proot-distro under termux.  \nThis version have g++ installed, to compile Aarch64 musl C/C++ linked binaries  \n\n##### Full Install on Termux\n\n```bash\ngit clone https://github.com/stringmanolo/dev-small\ncd dev-small\npkg install proot-distro\n7z x smallFileSystem.7z\ncp dev-small smallFileSystem -r \n./configureSmallDistro.sh\ncd packages\n./install_apk.sh\ncd ../\n./installInProotDistro.sh\n```\n\n##### Usage\n\n- Login into small:\n```bash\ndev-small\n```\n\n- Run a command inside small\n```bash\ndev-small ls -a\n```\n\n##### Compile a binarie\n```bash\ng++ -o helloWorld helloWorld.cpp\nstrip --strip-unneeded helloWorld\nchmod 0775 helloWorld\n./helloWorld\n```\n\n##### Files\n- README.md \nThis file.\n\n- TODO.md\nIdeas for the future.\n\n- cleanSmall.sh\nReplace the small filesystem by alpine filesystem\n\n- configureSmallDistro.sh\nAdd nameservers to /etc/resolv.config  \nRemove env variables from host to avoid leakage  \nAdd env variables to small  \nAdd bin locations to $PATH  \nAdd terminal colors and prompt shell  \nAdd aliases  \nAdd bash shell options (if bash is installed)  \n\n- exportInstalledSmall.sh\nExport small with all changes made directly from the system (packages installed, new files, etc)\n\n- exportSmall.sh\nExport small directory, changes made directly from the system are not reflected\n\n- installInProotDistro.sh\nInstall small in proot-distro  \nAdd small to /bin  \nOther installed versions, will be removed (all files inside too)\n\n- packages\nExtra packages (tweeaked and compressed to be smaller) will be here  \nYou can install by going into this folder and run the scripts\nUsefull to install packages without APK (reduces the size)  \n\n- packages/apk\nAPK package manager compressed files\n\n- packages/install_apk.sh\nInstall the APK (Alpine Package Manager) in small\n\n- reduced\nSmallest possible version of small\n\n- smallFileSystem\nThe small files that will be installed in proot-distro\n\n- startSmall.sh\nOld file to run small in desktop/PC  \nIgnore it, possible not working with this patched small version\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstringmanolo%2Fdev-small","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstringmanolo%2Fdev-small","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstringmanolo%2Fdev-small/lists"}