{"id":14128167,"url":"https://github.com/stravant/LuaMinify","last_synced_at":"2025-08-03T22:32:25.292Z","repository":{"id":4767494,"uuid":"5918468","full_name":"stravant/LuaMinify","owner":"stravant","description":"Lua source code minifier.","archived":false,"fork":false,"pushed_at":"2022-11-05T01:32:05.000Z","size":67,"stargazers_count":259,"open_issues_count":9,"forks_count":50,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-12-01T22:47:34.338Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","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/stravant.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-09-23T01:20:37.000Z","updated_at":"2024-11-20T03:33:46.000Z","dependencies_parsed_at":"2023-01-11T16:36:40.269Z","dependency_job_id":null,"html_url":"https://github.com/stravant/LuaMinify","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stravant%2FLuaMinify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stravant%2FLuaMinify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stravant%2FLuaMinify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stravant%2FLuaMinify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stravant","download_url":"https://codeload.github.com/stravant/LuaMinify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228571844,"owners_count":17938772,"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-08-15T16:01:21.592Z","updated_at":"2024-12-07T06:30:55.794Z","avatar_url":"https://github.com/stravant.png","language":"Lua","funding_links":[],"categories":["Lua","资源","Resources"],"sub_categories":["Analysis Tools and ASTs"],"readme":"Lua Parsing and Refactorization tools\n=========\n\nA collection of tools for working with Lua source code. Primarily a Lua source code minifier, but also includes some static analysis tools and a general Lua lexer and parser.\n\nCurrently the minifier performs:\n\n- Stripping of all comments and whitespace\n- True semantic renaming of all local variables to a reduced form\n- Reduces the source to the minimal spacing, spaces are only inserted where actually needed.\n\n\nLuaMinify Command Line Utility Usage\n------------------------------------\n\nThe `LuaMinify` shell and batch files are given as shortcuts to running a command line instance of the minifier with the following usage:\n\n    LuaMinify sourcefile [destfile]\n\nWhich will minify to a given destination file, or to a copy of the source file with _min appended to the filename if no output file is given.\n\n\nLuaMinify Roblox Plugin Usage\n-----------------------------\n\nFirst, download the source code, which you can do by hitting this button:\n\n![Click That](http://github.com/stravant/LuaMinify/raw/master/RobloxPluginInstructions.png)\n\nThen copy the `RobloxPlugin` folder from the source into your Roblox Plugins directory, which can be found by hitting `Tools-\u003eOpen Plugins Folder` in Roblox Studio.\n\nFeatures/Todo\n-------------\nFeatures:\n\n    - Lua scanner/parser, which generates a full AST\n    - Lua reconstructor\n        - minimal\n        - full reconstruction (TODO: options, comments)\n        - TODO: exact reconstructor\n    - support for embedded long strings/comments e.g. [[abc [[ def ]] ghi]]\n\nTodo:\n    - use table.concat instead of appends in the reconstructors","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstravant%2FLuaMinify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstravant%2FLuaMinify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstravant%2FLuaMinify/lists"}