hn_jobs
hn_jobs
Search/Filter a Hacker News 'Who is hiring' post given a post ID.
This simple app is used as a POC for the Crystal language - my first simple Crystal application.
Installation
Clone the repo
git clone https://github.com/jmcaffee/hn_jobs.git
Install dependencies
cd hn_jobs
crystal deps
Build the app
crystal build --release src/hn_jobs.cr
Usage
Run the generated executable
./hn_jobs
$ Usage: hn_jobs <article_id>
Provide the article ID of the 'Who's hiring HN thread' and the app will output a list of comments that contain (REMOTE|remote)
Example URL: https://news.ycombinator.com/item?id=13301832
Command: ./hn_jobs 13301832
Development
Tests can be run with crystal
:
crystal spec
Contributing
- Fork it ( https://github.com/jmcaffee/hn_jobs/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
- jmcaffee Jeff McAffee - creator, maintainer
Repository
hn_jobs
Owner
Statistic
- 0
- 0
- 0
- 0
- 1
- almost 8 years ago
- January 7, 2017
License
MIT License
Links
Synced at
Mon, 23 Dec 2024 01:15:16 GMT
Languages