{"id":41463507,"url":"https://github.com/mac9sb/arc","last_synced_at":"2026-01-31T16:05:57.240Z","repository":{"id":333968295,"uuid":"1139467199","full_name":"mac9sb/arc","owner":"mac9sb","description":"Architect for managing your server infrastructure built with Swift.","archived":false,"fork":false,"pushed_at":"2026-01-26T02:58:49.000Z","size":131,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-26T09:22:42.875Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://mac9sb.github.io/arc/","language":"Swift","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/mac9sb.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-22T02:00:39.000Z","updated_at":"2026-01-26T02:57:57.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mac9sb/arc","commit_stats":null,"previous_names":["mac9sb/arc"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/mac9sb/arc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mac9sb%2Farc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mac9sb%2Farc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mac9sb%2Farc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mac9sb%2Farc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mac9sb","download_url":"https://codeload.github.com/mac9sb/arc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mac9sb%2Farc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28947568,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T14:26:55.697Z","status":"ssl_error","status_checked_at":"2026-01-31T14:26:52.545Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2026-01-23T16:11:43.417Z","updated_at":"2026-01-31T16:05:57.234Z","avatar_url":"https://github.com/mac9sb.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Arc\n\nArc is a server management tool that provides a unified proxy for managing multiple static sites and dynamic applications.\n\n## Overview\n\nArc simplifies local development by providing:\n\n- **Unified Proxy Server**: Single entry point for all your local projects\n- **Automatic Process Management**: Start, stop, and monitor multiple services\n- **File Watching**: Automatic reloading when configuration changes\n- **Cloudflare Tunnel Integration**: Expose local services via Cloudflare tunnels\n- **Health Monitoring**: Track the status of all your services\n\n## Production Example\n\nFor a real-world production example of Arc in use, see the [server](https://github.com/mac9sb/server) repository, which demonstrates a complete setup with multiple static sites and dynamic applications.\n\n## Getting Started\n\n### Installation\n\nBuild Arc from source:\n\n```sh\ngit clone https://github.com/mac9sb/arc.git\ncd arc\nswift build -c release\n```\n\nOr download a pre-built binary from the [releases page](https://github.com/mac9sb/arc/releases).\n\n### Initialize a Project\n\nCreate a new Arc project in your current directory:\n\n```sh\narc init\n```\n\nThis creates the necessary directory structure and example files.\n\n\u003e [!NOTE]\n\u003e If your applications and static sites are in separate git repositories, it's recommended to add them as submodules using `git submodule add \u003crepository-url\u003e \u003cpath\u003e` rather than committing them directly. This keeps your project structure clean and allows you to track specific versions of each component.\n\n### Configure Your Sites\n\nEdit `ArcManifest.swift` to add your static sites and applications. Arc uses a Swift manifest for configuration.\n\nExample configuration:\n\n```swift\nimport ArcDescription\n\nlet config = ArcConfiguration(\n    processName: \"my-arc\",\n    sites: .init(\n        services: [\n            .init(\n                name: \"api\",\n                domain: \"api.localhost\",\n                port: 8000,\n                process: .init(\n                    workingDir: \"apps/api\",\n                    executable: \".build/release/API\"\n                )\n            )\n        ],\n        pages: [\n            .init(\n                name: \"portfolio\",\n                domain: \"portfolio.localhost\",\n                outputPath: \"static/portfolio/.output\"\n            )\n        ]\n    )\n)\n```\n\n### Start the Server\n\nRun Arc in foreground mode:\n\n```sh\narc start\n```\n\nOr run in background:\n\n```sh\narc start --background\n```\n\nThe server will start on port 8080 (default) and proxy requests to your configured sites.\n\n## Architecture\n\nArc consists of several modules:\n\n- **ArcCLI**: Command-line interface and argument parsing\n- **ArcCore**: Core configuration and process management\n- **ArcServer**: HTTP server and proxy functionality\n\n## Commands\n\n- `arc init` - Initialize a new Arc project\n- `arc start` - Start the Arc server\n- `arc stop` - Stop running Arc servers\n- `arc status` - Check the status of running servers\n- `arc logs` - View server logs\n\n## Configuration\n\nArc uses a Swift manifest named `ArcManifest.swift`. The manifest constructs an `ArcConfiguration` and is evaluated at runtime.\n\n## Development\n\nTo contribute to Arc:\n\n1. Clone the repository\n2. Build the project: `swift build`\n3. Run tests: `swift test`\n4. Build documentation: `swift package generate-documentation`\n\n## License\n\nSee LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmac9sb%2Farc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmac9sb%2Farc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmac9sb%2Farc/lists"}