lavinmq-hack-week

Version, currently main branch1 version
  • main branchlatestOct 5, 2024

github.com/tuliofaria/lavinmq-hack-week

No description declared in shard.yml.

0 stars
0 dependents
License: not declared

Installation

# Add this to your shard.yml
dependencies:
  lavinmq-hack-week:
    github: tuliofaria/lavinmq-hack-week
    branch: main

main is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
no constraint declared
Author
Tulio Faria

Dependencies

Runtime Dependencies

README

LavinMQ Hackthon Week

This repository contains the code for the LavinMQ Hackathon Week. I was trying LavinMQ for the first time and I wanted to try something fun, so I decided to participate in the hackathon week.

Usage

Crawl and get all links from a given page. These links are published to a queue on LavinMQ.

crystal craw-page.cr "https://crystal-lang.org/"

Consume links from the queue and search for a pattern in the page.

crystal consumer.cr "Crystal"

Installation

You need to have Crystal and Shards installed. And also install the dependencies:

shards install
  • amqp-client: AMQP client for Crystal
  • dotenv: Loads environment variables from a .env file

Author

Tulio Faria (tuliofaria at gmail.com)