{"id":18812071,"url":"https://github.com/silentsoft/acmicpc-kit","last_synced_at":"2026-01-11T17:30:17.161Z","repository":{"id":107723864,"uuid":"368823281","full_name":"silentsoft/acmicpc-kit","owner":"silentsoft","description":":rocket: Let's practice algorithms with Acmicpc Kit ! Acmicpc Kit is a template project for creating the problem project using fully customizable templates.","archived":false,"fork":false,"pushed_at":"2022-02-17T03:04:43.000Z","size":72,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-30T00:14:22.606Z","etag":null,"topics":["acmicpc","algorithm","baekjoon-online-judge","boj","koi","leetcode","practice","programmers","template"],"latest_commit_sha":null,"homepage":"","language":"Java","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/silentsoft.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":"silentsoft","patreon":"silentsoft","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":"silentsoft.org/donate"}},"created_at":"2021-05-19T10:02:20.000Z","updated_at":"2024-12-26T05:07:47.000Z","dependencies_parsed_at":"2023-06-08T20:47:33.648Z","dependency_job_id":null,"html_url":"https://github.com/silentsoft/acmicpc-kit","commit_stats":null,"previous_names":[],"tags_count":4,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silentsoft%2Facmicpc-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silentsoft%2Facmicpc-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silentsoft%2Facmicpc-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silentsoft%2Facmicpc-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/silentsoft","download_url":"https://codeload.github.com/silentsoft/acmicpc-kit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239748247,"owners_count":19690232,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["acmicpc","algorithm","baekjoon-online-judge","boj","koi","leetcode","practice","programmers","template"],"created_at":"2024-11-07T23:29:36.668Z","updated_at":"2026-01-11T17:30:17.112Z","avatar_url":"https://github.com/silentsoft.png","language":"Java","funding_links":["https://github.com/sponsors/silentsoft","https://patreon.com/silentsoft","silentsoft.org/donate"],"categories":[],"sub_categories":[],"readme":"# Acmicpc Kit\n\n![KitVersion](https://img.shields.io/badge/kit_version-v1.1.2-blue.svg)\n[![Hits](https://hits.sh/github.com/silentsoft/acmicpc-kit.svg)](https://hits.sh/github.com/silentsoft/acmicpc-kit/)\n\n\u003e Let's practice algorithms with Acmicpc Kit !\n\n`Acmicpc Kit` is a template project for creating the `problem` project using fully customizable templates. Click [![Button](https://img.shields.io/badge/-Use_this_template-brightgreen.svg)](https://github.com/silentsoft/acmicpc-kit/generate) button to get started right now.\n\n## Usages\n  - Creating a new problem\n    ```\n    $ ./mvnw -N acmicpc:create -Dproblem=1234 \n    ```\n  - Creating a new problem with a specific template\n    ```\n    $ ./mvnw -N acmicpc:create -Dproblem=1234 -Dtemplate=specific\n    ```\n  - Creating a problem for specific site\n    ```\n    $ ./mvnw -N acmicpc:create -Dproblem=two-sum -Dsite=leetcode.com\n    ```\n  - Revalidating project\n    ```\n    $ ./mvnw -N acmicpc:revalidate\n    ```\n\n## Getting started\n  1. Click `Use this template` button above to create a repository.\n  1. Clone the repository to your machine.\n     ```\n     $ git clone https://github.com/{{username}}/acmicpc-kit.git\n     ```\n  1. Enter the directory.\n     ```\n     $ cd acmicpc-kit\n     ```\n\n## Configurations\n\n### How to define a new template\nThe pre-defined template is `java` template under the `templates` directory. And it is used as a **default** template.\n\nIf you want to create a new template then please follow these steps.\n\n  1. Create a new directory with desired name under the `templates` directory.\n  1. Fill in the directory with your template files.\n  1. Edit `template` property in `pom.xml`.\n     ```xml\n     \u003cproperties\u003e\n       \u003ctemplate\u003enew-template-dir-name\u003c/template\u003e \u003c!-- e.g. 'java' --\u003e\n     \u003c/properties\u003e\n     ```\n\n### How to define a new template for specific site\nThis kit provides two site specific templates which is **acmicpc.net** and **leetcode.com**.\n\nIf you want to create a new template for new site then please follow these steps.\n\n  1. Create a new directory like `site-domain/template-name` under the `templates` directory.\n  1. Fill in the directory with your template files.\n  1. Edit `site` and `template` properties in `pom.xml`.\n     ```xml\n     \u003cproperties\u003e\n       \u003csite\u003enew-site-dir-name\u003c/site\u003e \u003c!-- e.g. 'leetcode.com' --\u003e\n       \u003ctemplate\u003enew-template-dir-name\u003c/template\u003e \u003c!-- e.g. 'java' --\u003e\n     \u003c/properties\u003e\n     ```\n\n## Frequently Asked Questions\n- **I am not a Java developer. Can I use this program ?**\n  \u003e Of course you can. Just create a new template directory under the `templates` and edit `template` property to template directory name in `pom.xml`.\n\n- **I'm using another site(s) instead of acmicpc.net to solve algorithm problems. Can I use this program?**\n  \u003e Of course you can. There are no restrictions on the use of this program. And you can edit the template. If you are using multiple sites then you can set `site` property. It's up to you.\n\n- I just created a problem project but where is it ?\n  \u003e It is created in the `problems` directory.\n\n- Can I delete the `pom.xml` file that exists in each problem directory ?\n  \u003e Please do not delete that file if you are a Java developer. It is designed for IDE to recognize the problem directory as a Maven module so that makes you to develop much easier. \n\n- It shows `Error: JAVA_HOME not found in your environment.`\n  \u003e This program requires Java. Please install it and try again.\n\n- How can I run `mvnw` command ? It shows me one of the following error messages.\n\n  - zsh: command not found: mvnw\n  - The term 'mvnw' is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again.\n  - '.' is not recognized as an internal or external command, operable program or batch file\n\n  \u003e (Mac or *nix) Try `./mvnw ..` instead of `mvnw ..`.  \n  \u003e (Windows) Try `mvnw ..` instead of `./mvnw ..`.\n\n- It shows `Some problems were encountered while processing the POMs:`\n  \u003e Try `./mvnw -N acmicpc:revalidate` to revalidate the Kit.\n\n- It seems try to compile all of problems project when I create a new one. And it makes me to wait for a long time.\n  \u003e That's why I describe `-N` flag to all of the `mvnw` commands. The `-N` flag will do what you want. Try `./mvnw -N acmicpc:create ..`.\n\n- All of problems project seems to being skipped from maven build when I create a new one.\n  \u003e It's OK. It works really well.\n\n- Can you provide a feature to download the problem text as a file from acmicpc.net ?\n  \u003e No. This can lead to sensitive issues related with copyright. Also, web scraping isn't allowed according to the [rules](https://www.acmicpc.net/help/rule).\n\n- Then can you provide a migration feature for downloading my source code that I've already submitted to acmicpc.net ?\n  \u003e No. According to the [rules](https://www.acmicpc.net/help/rule), web scraping isn't allowed **for now.**\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease note we have a [CODE_OF_CONDUCT](https://github.com/silentsoft/acmicpc-kit/blob/master/CODE_OF_CONDUCT.md), please follow it in all your interactions with the project.\n\n## License\nPlease refer to [LICENSE](https://github.com/silentsoft/acmicpc-kit/blob/master/LICENSE.txt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilentsoft%2Facmicpc-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsilentsoft%2Facmicpc-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilentsoft%2Facmicpc-kit/lists"}