{"id":46716508,"url":"https://github.com/luka-loehr/schoolcode","last_synced_at":"2026-03-09T10:31:36.438Z","repository":{"id":303547944,"uuid":"1004332724","full_name":"luka-loehr/schoolcode","owner":"luka-loehr","description":"AdminHub - Automated development tools installer for macOS Guest accounts. Provides Python, Git, Homebrew, and    essential tools that automatically reset for each student, designed for educational environments with    zero-maintenance setup.","archived":false,"fork":false,"pushed_at":"2025-12-03T19:24:36.000Z","size":396,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-05T09:33:30.201Z","etag":null,"topics":["automation","developer-tools","education","git","guest-account","homebrew","macos","python","school","shell"],"latest_commit_sha":null,"homepage":"https://lukaloehr.de/projects/schoolcode/","language":"Shell","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/luka-loehr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG_HOMEBREW_FIX.md","contributing":null,"funding":null,"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":"agents.md","dco":null,"cla":null}},"created_at":"2025-06-18T13:14:28.000Z","updated_at":"2025-12-03T19:24:36.000Z","dependencies_parsed_at":"2025-07-08T07:47:08.043Z","dependency_job_id":"ae79c1f9-82dc-4c0c-ac00-80737c451095","html_url":"https://github.com/luka-loehr/schoolcode","commit_stats":null,"previous_names":["luka-loehr/adminhub","luka-loehr/schoolcode"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/luka-loehr/schoolcode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luka-loehr%2Fschoolcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luka-loehr%2Fschoolcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luka-loehr%2Fschoolcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luka-loehr%2Fschoolcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luka-loehr","download_url":"https://codeload.github.com/luka-loehr/schoolcode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luka-loehr%2Fschoolcode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30291807,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["automation","developer-tools","education","git","guest-account","homebrew","macos","python","school","shell"],"created_at":"2026-03-09T10:31:35.857Z","updated_at":"2026-03-09T10:31:36.423Z","avatar_url":"https://github.com/luka-loehr.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SchoolCode\n\nAutomated developer tool deployment for macOS Guest accounts.\n\n[![Version](https://img.shields.io/github/v/release/luka-loehr/schoolcode?label=version\u0026color=blue\u0026logo=github)](https://github.com/luka-loehr/schoolcode/releases)\n[![macOS](https://img.shields.io/badge/macOS-10.14%2B-success)](https://support.apple.com/macos)\n[![License](https://img.shields.io/badge/license-Apache%202.0-green)](LICENSE)\n\n## Overview\n\nSchoolCode automates setup of a complete development environment for students on shared macOS machines. It installs Python, Homebrew, Git, and pip with security wrappers that prevent Guest accounts from modifying system packages or using sudo.\n\n## Requirements\n\n- macOS 10.14+ (Mojave or newer)\n- Administrator (sudo) privileges\n- ~2GB free disk space\n- Internet connection\n\n## Quick Start\n\n```bash\n# Clone the repository\ngit clone https://github.com/luka-loehr/schoolcode.git\ncd schoolcode\nsudo ./schoolcode.sh\n```\n\nVerify installation:\n```bash\nsudo ./schoolcode.sh --status\n```\n\n## Basic Commands\n\n```bash\nsudo ./schoolcode.sh                    # Install everything\nsudo ./schoolcode.sh --status           # Check system health\nsudo ./schoolcode.sh --uninstall        # Remove SchoolCode\nsudo ./schoolcode.sh --logs             # View logs interactively\nsudo ./schoolcode.sh --help             # Show help\n```\n\n## What Gets Installed\n\n- **Xcode Command Line Tools** - Required development tools\n- **Homebrew** - Package manager (non-interactive installation)\n- **Python** - Official Python from python.org\n- **Git** - Version control\n- **pip** - Python package manager\n- **Security Wrappers** - Prevents Guest users from modifying system packages\n\n## Security Model\n\nGuest accounts are fully isolated:\n- Cannot use `sudo` or install system-wide packages\n- pip restricted to user-only installations (`--user` flag)\n- Homebrew limited to read-only commands\n- All modifications cleaned on logout\n\n## Advanced Usage\n\nFor granular control, use the CLI tool:\n\n```bash\n# System management\nsudo ./scripts/schoolcode-cli.sh status [detailed]\nsudo ./scripts/schoolcode-cli.sh health [detailed]\nsudo ./scripts/schoolcode-cli.sh repair\n\n# Guest account\nsudo ./scripts/schoolcode-cli.sh guest setup\nsudo ./scripts/schoolcode-cli.sh guest test\n\n# Configuration\nsudo ./scripts/schoolcode-cli.sh config show\nsudo ./scripts/schoolcode-cli.sh tools list\n```\n\n## Troubleshooting\n\n**Installation problems:**\n```bash\nsudo ./schoolcode.sh --status           # Check system health\n./schoolcode.sh --logs errors           # View error logs\nsudo ./scripts/schoolcode-cli.sh repair # Auto-fix issues\n```\n\n**Guest account issues:**\n```bash\nsudo ./scripts/schoolcode-cli.sh guest test\nsudo ./scripts/schoolcode-cli.sh guest setup\n```\n\n## Project Structure\n\n```\nSchoolCode/\n├── schoolcode.sh                    # Main entry point\n├── scripts/\n│   ├── schoolcode-cli.sh            # Advanced CLI tool\n│   ├── install.sh                   # Installation logic\n│   ├── uninstall.sh                 # Removal script\n│   ├── utils/                       # Utility functions\n│   └── setup/                       # Guest configuration\n├── tests/                           # Test suite\n└── README.md                        # This file\n```\n\n## License\n\nApache License 2.0 - © 2025 Luka Löhr\n\n\u003e Test notice: daemon version tracking test - 2025-12-03 11:55\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluka-loehr%2Fschoolcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluka-loehr%2Fschoolcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluka-loehr%2Fschoolcode/lists"}