lavinmq-hack-week
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)
Repository
lavinmq-hack-week
Owner
Statistic
- 0
- 0
- 0
- 0
- 2
- 3 months ago
- October 5, 2024
License
Links
Synced at
Wed, 15 Jan 2025 13:56:10 GMT
Languages