{"id":25414056,"url":"https://github.com/daiz/autoformat","last_synced_at":"2026-02-25T08:07:11.452Z","repository":{"id":67370969,"uuid":"9974664","full_name":"Daiz/Autoformat","owner":"Daiz","description":"An Automation script for Aegisub that performs various typographic tasks for optimized subtitle readability.","archived":false,"fork":false,"pushed_at":"2013-05-10T04:53:09.000Z","size":108,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-16T14:48:25.609Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"MoonScript","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/Daiz.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":"2013-05-10T04:52:41.000Z","updated_at":"2015-01-01T10:50:02.000Z","dependencies_parsed_at":"2023-02-20T18:15:45.094Z","dependency_job_id":null,"html_url":"https://github.com/Daiz/Autoformat","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/Daiz%2FAutoformat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Daiz%2FAutoformat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Daiz%2FAutoformat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Daiz%2FAutoformat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Daiz","download_url":"https://codeload.github.com/Daiz/Autoformat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250257777,"owners_count":21400797,"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":"2025-02-16T14:35:23.629Z","updated_at":"2026-02-25T08:07:06.420Z","avatar_url":"https://github.com/Daiz.png","language":"MoonScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Autoformat for Aegisub\n\nAutoformat is an Automation script for [Aegisub](http://www.aegisub.org/) that performs various typographic tasks for optimized subtitle readability. The main feature is advanced line breaking, but it can also do character replacement for dashes, quotes and ellipses, advanced spacing for italics \u0026 numbers as well as make fake italics look nicer.\n\n## Installation\n\nDrop `autoformat.lua` into your Aegisub's `automation/autoload` directory. (Currently unavailable.)\n\n## Usage\n\nAutoformat can be configured with a specific comment line anywhere in the script (though it is recommended to stick it at the top). This command has the following format:\n\n```\nAUTOFORMAT option1: true/false option2: true/false\n```\n\n(Currently unavailable.)\n\n## Development Prerequisites\n\nTo develop Autoformat, you need the following:\n\n1. Install Lua or [LuaJIT](http://luajit.org/).\n2. Install [LuaRocks](http://luarocks.org/). (On Windows, it can install Lua for you.)\n3. Install [MoonScript](http://moonscript.org/) and [Busted](http://olivinelabs.com/busted/) with LuaRocks (`luarocks install moonscript` and `luarocks install busted`). You'll likely need to build binary modules for this, so you're going to need a compiler - an easy solution on Windows is to install [MinGW](http://www.mingw.org/).\n4. Install [Node.js](http://nodejs.org/).\n5. Fork and clone the repository.\n6. Navigate to your cloned repo and install node dependencies with `npm install`. (That sure was easy compared to Lua, eh?)\n7. (Optional) Install [LiveScript](http://livescript.net/) globally with `npm install -g LiveScript`\n\n## Development\n\nIf you installed LiveScript, you can now use `slake` tasks for the project. These tasks are:\n\n* `slake build`: Compile *.moon files to lib/*.lua.\n* `slake test`: Run unit tests with Busted.\n* `slake watch`: Watch the project files and build/test on changes.\n\nIf you didn't install LiveScript, you can access the previous commands with `npm run-script build`, `npm test` and `npm start`. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaiz%2Fautoformat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaiz%2Fautoformat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaiz%2Fautoformat/lists"}