guardian alternatives and similar shards
Based on the "Misc" category.
Alternatively, view guardian alternatives based on common mentions on social networks and blogs.
-
sentry
Build/Runs your crystal application, watches files, and rebuilds/restarts app on file changes -
immutable
Thread-safe, persistent, immutable collections for the Crystal language -
crystagiri
An Html parser library for Crystal (like Nokogiri for Ruby) -
crz
Functional programming library for https://github.com/crystal-lang/crystal -
crystal-web-framework-stars
โญ๏ธ Web frameworks for Crystal, most starred on Github -
cron_scheduler
Simple job scheduler with crontab patterns for Crystal Language. -
aasm.cr
:arrows_clockwise: Easy to use finite state machine for Crystal classes -
inflector.cr
Inflector shard for Crystal. A port of ActiveSupport::Inflector -
kreal
Kreal is a model sharing & RPC library built on and works with Kemal seamlessly. -
retriable.cr
Retriable.cr is a simple DSL to retry failed code blocks -
ulid
Universally Unique Lexicographically Sortable Identifier (ULID) in Crystal -
CrSerializer
Extensible annotation based serialization/deserialization library -
circuit_breaker
Implementation of the circuit breaker pattern in crystal -
burocracia.cr
No dependency Crystal shard to validate, generate and format Brazilian burocracias such as CPF, CNPJ and CEP -
wikicr
Wiki in crystal, using Markdown and Git, inspired by dokuwiki. Last features to build are pretty hard, if you have some time to help... :) -
m3u8
Generate and parse m3u8 playlists for HTTP Live Streaming (HLS) in Crystal. -
message_verifier.cr
Rails compatible MessageVerifier for Crystal-lang apps
Static code analysis for 29 languages.
Do you think we are missing an alternative of guardian or a related project?
README
๐ Guardian.cr
Guardian watches over your files and runs assigned tasks.
Installation
OS X
brew tap f/guardian
brew install guardian
Arch Linux
Guardian is availabe as a package from the Arch User Repository called guardian-git
From Source
git clone https://github.com/f/guardian.git && cd guardian
crystal build src/guardian.cr --release
Quickstart
Crystal Libs
Guardian works seamless with Crystal Projects. It automatically binds itself to library you use.
$ crystal init lib yourlib
$ cd yourlib
$ guardian --init
Created guardian.yml of ./src/yourlib.cr
Non-Crystal Libs
You can use Guardian for other projects.
$ guardian --init
Created guardian.yml
Usage
$ guardian --init
It will create a guardian.yml
file to use by Guardian.
guardian.yml
guardian.yml
is a simple YAML file.
Simply it has YAML documents with seperated by ---
line and each document has
files
and run
keys.
files
key needs a glob pattern, and run
is a shell command what to run.
files: ./**/*.cr
run: crystal build ./src/guardian.cr
---
files: ./shard.yml
run: shards install
%file%
Variable
Guardian replaces %file%
variable in commands with the changed file.
files: ./**/*.txt
run: echo "%file% is changed"
Think you have a hello.txt
in your directory, and Guardian will run echo "hello.txt is changed"
command when it's changed.
Running Guardian
$ guardian
๐ Guardian is on duty!
Contributing
- Fork it ( https://github.com/f/guardian/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- f Fatih Kadir Akฤฑn - creator, maintainer