{"id":20829540,"url":"https://github.com/devdutt6/aoctemplate","last_synced_at":"2025-08-17T14:31:16.835Z","repository":{"id":64354108,"uuid":"574492391","full_name":"devdutt6/aoctemplate","owner":"devdutt6","description":"A template generator for advent of code and solution runner.","archived":false,"fork":false,"pushed_at":"2022-12-06T13:47:18.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-04T23:46:07.696Z","etag":null,"topics":["advent-of-code","advent-of-code-2022","adventofcode","template"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/aoctemplate","language":"JavaScript","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/devdutt6.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-12-05T12:39:42.000Z","updated_at":"2022-12-07T17:41:16.000Z","dependencies_parsed_at":"2023-01-15T13:15:28.584Z","dependency_job_id":null,"html_url":"https://github.com/devdutt6/aoctemplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devdutt6/aoctemplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devdutt6%2Faoctemplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devdutt6%2Faoctemplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devdutt6%2Faoctemplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devdutt6%2Faoctemplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devdutt6","download_url":"https://codeload.github.com/devdutt6/aoctemplate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devdutt6%2Faoctemplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270859063,"owners_count":24658148,"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","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["advent-of-code","advent-of-code-2022","adventofcode","template"],"created_at":"2024-11-17T23:20:50.064Z","updated_at":"2025-08-17T14:31:16.755Z","avatar_url":"https://github.com/devdutt6.png","language":"JavaScript","readme":"# Advent of Code\n\n- A Template generator for Advent of Code hackathon :technologist:.\n- It will automatically generate the `input.txt` file and `solution.js` file with the template code so you can directly start writing solution :writing_hand:. You don't need to write the same code daily then import file and run solution on it, i handeled it for you :sunglasses:.\n- Just write your solution in `solution.js` file and run it using command `aocrun` with the character by which you want to split the filelines and it will run it :rocket:.\n\n[![NPM](https://img.shields.io/npm/l/aoctemplate)](https://cdn.jsdelivr.net/npm/aoctemplate@0.1.0/LICENSE)\n![node-current](https://img.shields.io/node/v/aoctemplate)\n\n## Installation\n\n\u003chr\u003e\n\nIt requires global scope because i wanted to make it a CLI command so that it would be easier to run it anywhere on your machine.\n\n```bash\nnpm install -g aoctemplate\n```\n\n```bash\nyarn add aoctemplate --global\n```\n\n## Usage\n\u003chr\u003e\n\nSo there are :two: commands one for template generation and other for running that template after you write your solution ofcourse.\n\n```bash\naoc \u003cFOLDER_NAME\u003e\naocrun \u003cSEPARATOR_CHARACTER\u003e\n```\n\n### Examples\n\nThe command `aoc` will generate two files `input.txt` for pasting your puzzle input and `solution.js` where you will write your puzzle solution.\n\n```bash\naoc 'day_six'\n```\n\nThe command `aocrun` will parse and run on the inputs of `input.txt` file with the character separator which you will provide and will return the solution of your solution function from `solution.js` file.\n```bash\naocrun '\\n'\n```\n\u003cbr\u003e\n\n## Contributing\n\u003chr\u003e\n\n### See [CONTRIBUTING.md](CONTRIBUTING.md).\n\u003cbr\u003e\n\n## Bugs and Issues\n\u003chr\u003e\n\nIf you encounter any bugs :beetle: or issues :dart:, feel free\nto [open an issue at github](https://github.com/devdutt6/aoctemplate/issues) or email :email::mailbox_with_no_mail: me on\n\u003cdevduttchudasama1339@gmail.com\u003e. I will always like to hear from you :deaf_man:.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevdutt6%2Faoctemplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevdutt6%2Faoctemplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevdutt6%2Faoctemplate/lists"}