{"id":19967271,"url":"https://github.com/ladicle/hack","last_synced_at":"2026-05-14T02:36:25.829Z","repository":{"id":64304825,"uuid":"124743969","full_name":"Ladicle/hack","owner":"Ladicle","description":" hack is a CLI tool for supporting programming competitions","archived":false,"fork":false,"pushed_at":"2025-02-01T13:52:58.000Z","size":262,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-01T14:34:31.658Z","etag":null,"topics":["cli","coding-contest"],"latest_commit_sha":null,"homepage":"","language":"Go","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/Ladicle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-11T10:05:17.000Z","updated_at":"2025-02-01T13:53:02.000Z","dependencies_parsed_at":"2023-01-15T10:15:37.403Z","dependency_job_id":null,"html_url":"https://github.com/Ladicle/hack","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ladicle%2Fhack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ladicle%2Fhack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ladicle%2Fhack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ladicle%2Fhack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ladicle","download_url":"https://codeload.github.com/Ladicle/hack/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241399536,"owners_count":19956917,"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":["cli","coding-contest"],"created_at":"2024-11-13T02:40:49.327Z","updated_at":"2026-05-14T02:36:25.768Z","avatar_url":"https://github.com/Ladicle.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hack\n\n`hack` is a commandline tool to assist your programming content.\n\n## Installation\n\n```bash\ngo install github.com/Ladicle/hack@latest\n```\n\n## Usage\n\n```\nHack assists your programming contest.\n\nUsage:\n  hack [command]\n\nAvailable Commands:\n  add         Add resource to the contest directory\n  go          Print path to the directory\n  help        Help about any command\n  init        Create directories and download samples\n  next        Print next quiz directory\n  open        Open current task page\n  test        Test your program\n\nFlags:\n      --config string   path to the configuration file (default \"~/.config/hack\")\n  -h, --help            help for hack\n\nUse \"hack [command] --help\" for more information about a command.\n```\n\n## Quick Started\n\nWrite configuration and save it as a `~/.config/hack` file.\n\n```\natcoder:\n  user: \u003cusername\u003e\n  pass: \u003cpassword\u003e\nbasedir: \u003cpath/to/directory\u003e\n```\n\nInitialize contest directory and download samples.\n\n```\n$ hack init abc100\nInitialize directory for abc100:\n ✓ Scraping task abc100_a\n   ✓ Scraping sample #1\n   ✓ Scraping sample #2\n   ✓ Scraping sample #3\n ✓ Scraping task abc100_b\n   ✓ Scraping sample #1\n   ✓ Scraping sample #2\n   ✓ Scraping sample #3\n ✓ Scraping task abc100_c\n   ✓ Scraping sample #1\n   ✓ Scraping sample #2\n   ✓ Scraping sample #3\n```\n\nAfter writing the code, test and submit it if the program pass all test cases.\n\n```\n$ hack test\n[AC] Sample #1\n[AC] Sample #2\n[AC] Sample #3\nCopy main.py!\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fladicle%2Fhack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fladicle%2Fhack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fladicle%2Fhack/lists"}