{"id":45190179,"url":"https://github.com/dexoron/dcr","last_synced_at":"2026-02-20T12:01:25.183Z","repository":{"id":337810211,"uuid":"1155293172","full_name":"dexoron/dcr","owner":"dexoron","description":"DCR is a utility for managing C/C++ projects in a Cargo-like style.","archived":false,"fork":false,"pushed_at":"2026-02-19T06:50:21.000Z","size":109,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-02-19T11:31:02.033Z","etag":null,"topics":["c","cpp","cpp-all","linux","macos","project-manager","rust","utils","windows"],"latest_commit_sha":null,"homepage":"https://dcr.dexoron.su","language":"Rust","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/dexoron.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.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":null,"dco":null,"cla":null}},"created_at":"2026-02-11T10:50:41.000Z","updated_at":"2026-02-19T06:50:24.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dexoron/dcr","commit_stats":null,"previous_names":["dexoron/dcr"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dexoron/dcr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dexoron%2Fdcr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dexoron%2Fdcr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dexoron%2Fdcr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dexoron%2Fdcr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dexoron","download_url":"https://codeload.github.com/dexoron/dcr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dexoron%2Fdcr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29650503,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T09:27:29.698Z","status":"ssl_error","status_checked_at":"2026-02-20T09:26:12.373Z","response_time":59,"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":["c","cpp","cpp-all","linux","macos","project-manager","rust","utils","windows"],"created_at":"2026-02-20T12:01:24.522Z","updated_at":"2026-02-20T12:01:25.177Z","avatar_url":"https://github.com/dexoron.png","language":"Rust","readme":"# DCR (Dexoron Cargo Realization)\n\nDCR is a utility for managing C/C++ projects in a Cargo-like style.\n\nThe current implementation is written in Rust.\n\n## Why DCR\n- Unified project structure without manual setup\n- Simple commands for common tasks\n- Transparent compilation and predictable build profiles\n\n## Features\n- Create a new project or initialize the current directory\n- Build a project with `debug` and `release` profiles\n- Run the compiled binary\n- Clean build artifacts\n- Generate a minimal C project template\n- Update the binary via `dcr --update` (GitHub Releases, not for pacman/AUR installs)\n\n## Supported Platforms\n- Linux: `x86_64-unknown-linux-gnu`\n- macOS Intel: `x86_64-apple-darwin`\n- macOS Apple Silicon: `aarch64-apple-darwin`\n- Windows: `x86_64-pc-windows-msvc`\n\n## Installation\n\n### Package Manager\n\n**Arch Linux**\n```sh\nyay -S dcr # or paru and other AUR package managers\n```\n\n### From Source\n\n```sh\ngit clone https://github.com/dexoron/dcr.git\ncd dcr\ncargo build --release\nmkdir -p ~/.local/bin\nln -sf \"$PWD/target/release/dcr\" ~/.local/bin/dcr\n```\n\n### Via `install.sh` (Linux/macOS)\n\n```sh\ncurl -fsSL https://dcr.dexoron.su/install.sh | bash\n```\n\n### Via `install.ps1` (Windows)\n\n```powershell\nirm https://dcr.dexoron.su/install.ps1 | iex\n```\n\nWhen executed, both scripts ask whether to:\n- download a prebuilt binary from GitHub Releases\n- or build the project from `git`\n\nRelease assets:\n- `dcr-x86_64-unknown-linux-gnu`\n- `dcr-x86_64-apple-darwin`\n- `dcr-aarch64-apple-darwin`\n- `dcr-x86_64-pc-windows-msvc.exe`\n\n## Update\n\n- If DCR was installed from GitHub release assets, `install.sh`, `install.ps1`, or built manually:\n  - use `dcr --update`\n- If DCR is installed via `pacman/AUR`:\n  - update with your package manager: `paru/yay -Syu dcr` or `sudo pacman -Syu dcr`\n  - `dcr --update` detects package-managed installs and asks you to update via package manager\n\n## Quick Start\n\nCreate a new project:\n`dcr new hello`\n\nOr initialize the current directory (the directory must be empty):\n`dcr init`\n\nProject structure:\n\n```txt\nhello/\n- src/\n- - main.c\n- dcr.toml\n```\n\nBuild and run the project:\n`dcr run` or `dcr run --release`\n\n## Commands\n\n### `dcr new \u003cname\u003e`\nCreates a project with the specified name in the current directory.\n\n### `dcr init`\nCreates a project in the current directory. The project name is taken from the directory name. The directory must be empty.\n\n### `dcr build [profile]`\nBuilds the project. If no profile is specified, `--debug` is used.\n\n### `dcr run [profile]`\nBuilds the project and runs the binary. If no profile is specified, `--debug` is used.\n\nRun manually:\n`./target/\u003cprofile\u003e/main`\n\n### `dcr clean`\nRemoves the `target` directory in the project root.\n\n## Build Profiles\nTwo profiles are supported:\n- `--debug` (default) - flags: `-O0 -g -Wall -Wextra -fno-omit-frame-pointer -DDEBUG`\n- `--release` - flags: `-O3 -DNDEBUG -march=native`\n\n## Configuration\nThe main project file is `dcr.toml`.\n\nExample `dcr.toml`:\n\n```toml\n[package]\nname = \"hello\"\nversion = \"0.1.0\"\nlanguage = \"c\"\ncompiler = \"clang\"\n\n[dependencies]\n```\n\n## Requirements\n- Rust toolchain (`rustc`, `cargo`) - for building DCR from source\n- C compiler (`clang`, `gcc`, or others)\n\n## Releases\nReleases are built automatically via GitHub Actions (`.github/workflows/release.yml`) when a tag matching `v*` is pushed.\n\n## License\nSee `LICENSE`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdexoron%2Fdcr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdexoron%2Fdcr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdexoron%2Fdcr/lists"}