A CraftOS-PC based OS layer with a Linux-style package workflow, Python bridge, and host-side integration.
CcShell is a custom runtime and package layout built on top of CraftOS-PC.
It is designed to make the CraftOS shell feel more like a small operating system:
- boot-time shell customization
- package installation with
pacman - optional ROM program trees by computer type
- host-side Python bridge helpers
- Windows integration for external tools and file handling
- a path toward a lightweight Linux-like addon stack for CraftOS-PC
The repo is split into:
pkg/- package installers and package metadatasource/- runtime source tree that gets installed into CraftOS-PCpython/- host-side Python scripts used by the bridgecomputer/- live per-computer runtime data used for testing
This project is not strictly a full operating system in the traditional sense.
It is better described as an addon layer for CraftOS-PC that makes the shell, package flow, and host integration behave more like a lightweight OS environment.
The goal is to extend CraftOS-PC with:
- a more structured boot process
- package-managed runtime components
- host-side Python helpers
- Windows integration where it is useful
- a cleaner, Linux-like workflow for shell users
So while it behaves like an OS in practice, the actual model is:
- CraftOS-PC remains the base
- this repository adds the runtime layer on top
- packages and helpers extend that layer over time
pacman-style package install, remove, upgrade, and query- package metadata through
manifest.lua - automatic dependency handling
- optional program-tree installs:
pocketturtleadvancedfunhttp
- bridge access for filesystem operations and Windows taskbar control
- startup logic that loads the
syslayer automatically - a local
computer/0/webman/dashboard preview that starts as a single HTML file and uses a CraftOS WebSocket daemon for actions
- Python on the host machine is only needed for the bridge features.
- Emulator releases include the Python helpers by default.
- Download and install the latest release.
- Run the program CraftOS-PC startup
- Install
basethrough your package flow. Optional, but recommended. - Install
sysandbridgefsif you want the bridge features. Optional.
If you are not using the emulator release, fetch pacman.lua directly:
wget https://raw.githubusercontent.com/PB-Kronos/CcShell/main/pacman.lua /rom/programs/pacman.lua
Then use pacman to install the packages you want.
The base package copies the runtime layout from the source tree. On emulator releases, the host Python helper folder is already included alongside the bundle.
pacman -S base
Optional program trees can be forced with flags:
pacman -S base --advanced --fun --http
The host Python folder can be changed with the normal set command:
set python_path "C:\Users\craftos\AppData\Roaming\CraftOS-PC\python"
To restore the default launcher behavior, leave it blank:
set python_path ""
The default points at the CraftOS-PC python folder under %APPDATA%.
You can also point it at any other Windows path if you want the helpers installed elsewhere.
The runtime loads sys at startup when available.
That gives the shell access to the bridge API without extra manual setup.
sys is the main Lua-side bridge API.
Examples:
sys.execute("ping")
sys.fs.read("C:/Users/yourname/Desktop/test.txt")
sys.fs.write("C:/Users/yourname/Desktop/test.txt", "hello world")
sys.taskbar.hide()
sys.taskbar.show()If you run sys with no arguments, it prints the available commands.
file is the filesystem debug helper exposed by bridgefs.
Examples:
file read C:/Users/yourname/Desktop/test.txt
file list C:/Users/yourname/Desktop
file download pkg/execute/execute.lua /bin/execute.lua
The package tree is meant to stay small and explicit:
baseinstalls the core runtimesysinstalls the Lua bridge layerbridgefsinstalls file helpersfunandhttpadd optional ROM program trees
- This project is Windows-first.
- The host Python bridge is part of the runtime, not a user-facing feature.
bridgefsis treated as an addon tosys, not a standalone layer.- The repository evolves quickly, so package boundaries may be adjusted when the layout improves.
No license file is currently set in this repository.