{"id":34976231,"url":"https://github.com/martian56/cstarter","last_synced_at":"2026-03-15T08:50:37.253Z","repository":{"id":310832062,"uuid":"963869860","full_name":"martian56/cstarter","owner":"martian56","description":"Cstarter makes starting C/C++ projects easy.","archived":false,"fork":false,"pushed_at":"2025-04-10T10:48:10.000Z","size":4,"stargazers_count":15,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-28T12:40:54.109Z","etag":null,"topics":["c","c-project-template","project-template"],"latest_commit_sha":null,"homepage":"","language":"C","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/martian56.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}},"created_at":"2025-04-10T10:37:43.000Z","updated_at":"2025-12-26T14:10:15.000Z","dependencies_parsed_at":"2025-08-20T14:43:52.038Z","dependency_job_id":"6b7cf79b-e58d-4850-8887-6bf7f8e0ed9a","html_url":"https://github.com/martian56/cstarter","commit_stats":null,"previous_names":["martian56/cstarter"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/martian56/cstarter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martian56%2Fcstarter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martian56%2Fcstarter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martian56%2Fcstarter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martian56%2Fcstarter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/martian56","download_url":"https://codeload.github.com/martian56/cstarter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martian56%2Fcstarter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30539324,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-15T07:17:37.589Z","status":"ssl_error","status_checked_at":"2026-03-15T07:17:31.738Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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","c-project-template","project-template"],"created_at":"2025-12-27T00:11:33.269Z","updated_at":"2026-03-15T08:50:37.213Z","avatar_url":"https://github.com/martian56.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cstarter\n\n`cstarter` is a simple command-line tool to quickly create a C project with a predefined folder structure, Makefile, source files, and more. It's designed to streamline the setup process for new C projects, saving time and reducing repetitive tasks.\n\n## Features\n\n- **Predefined Project Structure**: Automatically creates the following directories:\n  - `include/` for header files\n  - `src/` for source files\n  - `lib/` for external libraries\n  - `build/` for compiled files\n  - `bin/` for executables\n  - `tests/` for test files\n- **Makefile**: Provides an easy way to build and clean the project.\n- **Option to Include CMakeLists.txt**: If preferred, you can opt to generate a CMake build configuration.\n- **README.md Generation**: A customizable `README.md` with either basic or detailed instructions.\n- **Test Setup**: Optionally includes a basic test file to get started with unit testing.\n- **Customizable Project Name**: Set the project folder name during creation.\n\n## Installation\n\n1. Clone the repository:\n    ```bash\n    git clone https://github.com/yourusername/cstarter.git\n    cd cstarter\n    ```\n\n2. Compile the source code:\n    ```bash\n    make\n    ```\n\n3. (Optional) Install globally:\n    ```bash\n    sudo make install\n    ```\n\n## Usage\n\nTo use `cstarter`, run it with your desired options and the target project folder name. If no folder name is provided, it defaults to the current directory (`.`).\n\n### Available Options\n\n- `-c`, `--cmake`: Include a `CMakeLists.txt` for CMake users.\n- `-t`, `--tests`: Include a `tests/` folder with a basic test file.\n- `-r`, `--readme`: Generate a detailed `README.md` file (with build instructions).\n- `-h`, `--help`: Show the help message with all available options.\n\n### Examples\n\n1. **Create a basic C project** in the `myproject` directory:\n    ```bash\n    ./cstarter myproject\n    ```\n\n2. **Create a project with CMake support**:\n    ```bash\n    ./cstarter -c myproject\n    ```\n\n3. **Create a project with tests and a detailed README**:\n    ```bash\n    ./cstarter -t -r myproject\n    ```\n\n4. **Create a project in the current directory**:\n    ```bash\n    ./cstarter .\n    ```\n\n## License\n\nThis project is open-source under the MIT license. You are free to modify and distribute it as per your needs.\n\n## Contribution\n\nFeel free to fork this repository, submit issues, and send pull requests. Contributions are welcome!\n\n## Acknowledgments\n\n- Thanks to [GNU Make](https://www.gnu.org/software/make/) for building the project.\n- Thanks to [CMake](https://cmake.org/) for providing an alternative build system.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartian56%2Fcstarter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartian56%2Fcstarter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartian56%2Fcstarter/lists"}