/Dime-a-Dozen

A macOS app for code generation, automation

Primary LanguageSwift

Dime-a-Dozen

Download the release build on https://github.com/atacan/Dime-a-Dozen/releases. The .app file is in "DimeADozen.macOS.[...].zip"

Tools

Html to Swift Converter

Using https://github.com/atacan/html-swift, convert HTML code to

DSLs. Screenshot 2022-08-06 at 11 16 20

Vapor Code Generator

For a new Fluent model, generate model, controller and migration code. Screenshot 2022-07-03 at 14 20 59

Extract all the Regex Matches from a Text

The online regex editors highlight the matches but you can't extract them into a list.
The following example is useful to extract old class names from an HTML code to generate CSS framework enum. Screenshot 2022-06-04 at 11 26 09

Text Case Converter

Convert a list of string from Snake case to Camel case, for example. It is useful for generating enums, static variables etc.
The screenshot shows converting Bootstrap CSS classes into camel case to be usable for an CSS framework enum. Screenshot 2022-06-05 at 12 41 09

Prefix Suffix Manipulator

In each line, replace a prefix or suffix if it exists with another string. Add a new prefix or suffix. Screenshot 2022-07-03 at 13 56 30

Swift Pretty Formatter with Syntax Highlight

Format and highlight swift code. Convert it to png image or html code with properly classed tokens. Screenshot 2022-11-12 at 14 28 25

Json Pretty Formatter with Syntax Highlight

Pretty print the json input and highlight the syntax using nkristek/Highlight. It returns an error if the json is invalid. Screenshot 2022-10-21 at 22 24 48

Search Inside Files

Find files that contain a search term in the file content, not just the file name, using grep command. Screenshot 2022-05-29 at 22 39 12