{"id":21499336,"url":"https://github.com/ashwin990/template","last_synced_at":"2025-03-17T12:46:04.889Z","repository":{"id":167000574,"uuid":"399081565","full_name":"ASHWIN990/template","owner":"ASHWIN990","description":"A script to genrate template files.","archived":false,"fork":false,"pushed_at":"2021-08-25T06:52:26.000Z","size":26,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-23T22:34:29.629Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/ASHWIN990.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}},"created_at":"2021-08-23T11:44:20.000Z","updated_at":"2025-01-22T04:20:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"d17a50d6-5150-42c0-9247-f445b07043e7","html_url":"https://github.com/ASHWIN990/template","commit_stats":null,"previous_names":["ashwin990/template"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASHWIN990%2Ftemplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASHWIN990%2Ftemplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASHWIN990%2Ftemplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASHWIN990%2Ftemplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ASHWIN990","download_url":"https://codeload.github.com/ASHWIN990/template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244038324,"owners_count":20387826,"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":[],"created_at":"2024-11-23T17:15:35.982Z","updated_at":"2025-03-17T12:46:04.881Z","avatar_url":"https://github.com/ASHWIN990.png","language":"Python","funding_links":["https://www.buymeacoffee.com/ashwinisahu"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003ca target=\"_blank\" href=\"https://github.com/ASHWIN990/template\"\u003e\n\u003cimg alt=\"template logo\" src=\"https://i.ibb.co/YBjWLR3/scrshot-2021-08-24-19-10-05.png\" /\u003e\n\u003c/a\u003e\u003c/div\u003e\n\n\u003ch3 align=\"center\"\u003eA script to generate template files from CLI 🖥️\u003c/h3\u003e\n\n\u003cp markdown=\"1\"\u003e\n\n**template** is a PYTHON Script to handle **_Template files_** from the fancy of your terminal screen, it's annoying when you have to create a _bash script_ or a _HTML_ document you have to create a file and make the file executable if neccessary, but using this you dont have to deal with all of that just a single command and you're sorted.\n\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n    \u003cb\u003etemplate\u003c/b\u003e will create a file and the boilerplate.\n\u003c/div\u003e\n\n## Prerequisite\n\n* Install ```python3``` for your distro\n\nGenerally ```python3``` can be installed with package name ```python3```\n\n## Installation\n\n**Arch linux** and **Arch based distro** (**_AUR_**)\n\n- yay -S [template](https://aur.archlinux.org/packages/template/)\n- pamac install [template](https://aur.archlinux.org/packages/template/)\n\n**Normal Installation**\n\n```bash\ngit clone https://github.com/ASHWIN990/template.git\n\ncd template\n\nsudo make install\n```\n\n**Uninstallation**\n\n```\nsudo make uninstall\n```\n\n## Usage\n\n```bash\n$ template -f bash -n test.sh -x\n    # Above command will create a 'Bash script' with file name 'test.sh' and due to -x flag the file will be exucutable.\n\n$ template -f html\n    # Above command will create a 'HTML Doc', with file name 'index.html'.\n\n$ template -l\n    # Above command will print the Available templates.\n    # Output :\n    # Available Templates are:-\n\n    # Language   File Name\n    # --------------------\n    # python     script.py\n    # bash       script.sh\n    # c          main.c\n    # html       index.html \n\n```\n\n## Options\n```bash\n\n  -h,  --help       Show this help message and exit\n  -f   FILE TYPE    Provide the Template type\n  -n   FILE NAME    Provide the desired File name\n  -x                Make the new file executable\n  -l                List the available Templates\n```\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n## Support Me\n\n\u003ca href=\"https://www.buymeacoffee.com/ashwinisahu\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;\" \u003e\u003c/a\u003e\n\n## Author\n\n* **[ASHWINI SAHU](https://ashwini.codes)**\n* **Email me at : *ashwinisahu990@gmail.com***\n* **Follow me at : *[Instagram](https://instagram.com/kumar_ashwin_sahu) , [Twitter](https://twitter.com/ashwinisahu990)***\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashwin990%2Ftemplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashwin990%2Ftemplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashwin990%2Ftemplate/lists"}