{"id":26925042,"url":"https://github.com/farias-hecdin/luatiny","last_synced_at":"2025-04-02T02:29:47.121Z","repository":{"id":174678466,"uuid":"625559197","full_name":"farias-hecdin/Luatiny","owner":"farias-hecdin","description":"📌 A bash script that automates the minification of a batch of Lua files.","archived":false,"fork":false,"pushed_at":"2023-12-31T13:39:51.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-12-31T14:32:30.257Z","etag":null,"topics":["lua","minifier"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/farias-hecdin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-04-09T13:45:55.000Z","updated_at":"2023-08-29T03:59:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"a4b7d972-843e-420b-b0c8-b472e68c8dbe","html_url":"https://github.com/farias-hecdin/Luatiny","commit_stats":null,"previous_names":["farias-hecdin/luatiny"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farias-hecdin%2FLuatiny","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farias-hecdin%2FLuatiny/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farias-hecdin%2FLuatiny/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farias-hecdin%2FLuatiny/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/farias-hecdin","download_url":"https://codeload.github.com/farias-hecdin/Luatiny/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246743315,"owners_count":20826503,"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":["lua","minifier"],"created_at":"2025-04-02T02:29:44.829Z","updated_at":"2025-04-02T02:29:47.107Z","avatar_url":"https://github.com/farias-hecdin.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Luatiny\nReduce the size of your Lua files by removing unnecessary whitespace and compacting the source code.\n\n# Description\nLuatiny is a Bash script that uses the **Luamin** tool to minify Lua files in order to reduce their size through the removal of all comments and whitespace from the source code, as well as the renaming of local variable names to a more abbreviated form.\n\n\u003e I created this script with the intention of optimizing Neovim's configuration, but it can be useful for any Lua project that seeks to reduce its size.\n\n## Requirements\nTo use Luatiny, make sure you have [Luamin](https://github.com/mathiasbynens/luamin) installed:\n\n```bash\nnpm install luamin\n```\n\n## Installation\n\nFollow these steps to install and configure Luatiny:\n\n1. Clone this repository to your local machine:\n    ```sh\n    git clone https://github.com/farias-hecdin/Luatiny.git\n    ```\n\n2. Add this code snippet to your `.zshrc` or `.bashrc` file to be able to execute Lare from any directory.\n    ```sh\n    # Luatiny\n    export LUATINY_HOME=\"$HOME/.local/share/luatiny\"\n    export PATH=\"$LUATINY_HOME:$PATH\"\n    ```\n\n3. Run the `wizard.sh` file to install Luatiny:\n    ```sh\n    cd Luatiny/\n    bash wizard.sh\n    ```\n\n3. Once you have installed Luatiny, you can run the script by typing the following command and specifying a directory:\n    ```sh\n    luatiny [directory]\n    ```\n\nTo display the help text, you can use the `luatiny --help` command.\n\n## License\nLuatiny is under the MIT license. See the `LICENSE` file for more information\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarias-hecdin%2Fluatiny","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffarias-hecdin%2Fluatiny","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarias-hecdin%2Fluatiny/lists"}