https://github.com/stephendolan/bloat
A dead simple Thor application utility.
https://github.com/stephendolan/bloat
Last synced: about 1 year ago
JSON representation
A dead simple Thor application utility.
- Host: GitHub
- URL: https://github.com/stephendolan/bloat
- Owner: stephendolan
- License: mit
- Created: 2020-06-25T02:33:44.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2023-06-05T04:58:29.000Z (about 3 years ago)
- Last Synced: 2024-05-06T00:04:51.941Z (about 2 years ago)
- Language: Ruby
- Homepage:
- Size: 59.6 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Bloat
[](https://badge.fury.io/rb/bloat)

Bloat is a tiny wrapper around a [Thor](http://whatisthor.com) `apply` call, and allows running arbitrary Thor template code from anywhere!
## Installation
In a ruby project, you can add `bloat` to your `Gemfile`
For non-ruby projects, you'll need to install ruby, and then `gem install bloat`
## Usage
Just run `bloat with {template_url}`, and the content at the template will be run from your current directory! For examples of what you might want to do, check out [RailsBytes](https://railsbytes.com).
## Examples
Let's check out using `bloat` to make templates from [RailsBytes](https://railsbytes.com) work in a [Lucky](https://luckyframework.org) application.
#### We can add the lovely [StimulusJS](https://stimulusjs.org) library to Lucky our app with one command!
`bloat with https://railsbytes.com/script/zl0sKQ`
#### How about a Lucky app styled with TailwindCSS?
`bloat with https://railsbytes.com/script/VeKsGg`
#### Maybe we want to use TypeScript with Lucky?
`bloat with https://railsbytes.com/script/zl0sNL`
#### Bloat can even manage getting your Lucky app deployed to Heroku!
`bloat with https://railsbytes.com/script/VQLsab`