Awesome
<div align = "center"> <h1><a href="https://github.com/2kabhishek/exercism-fetcher">exercism-fetcher</a></h1> <a href="https://github.com/2KAbhishek/exercism-fetcher/blob/main/LICENSE"> <img alt="License" src="https://img.shields.io/github/license/2kabhishek/exercism-fetcher?style=flat&color=eee&label="> </a> <a href="https://github.com/2KAbhishek/exercism-fetcher/graphs/contributors"> <img alt="People" src="https://img.shields.io/github/contributors/2kabhishek/exercism-fetcher?style=flat&color=ffaaf2&label=People"> </a> <a href="https://github.com/2KAbhishek/exercism-fetcher/stargazers"> <img alt="Stars" src="https://img.shields.io/github/stars/2kabhishek/exercism-fetcher?style=flat&color=98c379&label=Stars"></a> <a href="https://github.com/2KAbhishek/exercism-fetcher/network/members"> <img alt="Forks" src="https://img.shields.io/github/forks/2kabhishek/exercism-fetcher?style=flat&color=66a8e0&label=Forks"> </a> <a href="https://github.com/2KAbhishek/exercism-fetcher/watchers"> <img alt="Watches" src="https://img.shields.io/github/watchers/2kabhishek/exercism-fetcher?style=flat&color=f5d08b&label=Watches"> </a> <a href="https://github.com/2KAbhishek/exercism-fetcher/pulse"> <img alt="Last Updated" src="https://img.shields.io/github/last-commit/2kabhishek/exercism-fetcher?style=flat&color=e06c75&label="> </a> <h3>Fetch Exercism Tracks Data 💪🔽</h3> </div>exercism-fetcher is a ruby gem that allows you to fetch exercise data for languages from exercism in json format.
✨ Features
- Fetches data directly from exercism github repositories.
- Supports fetching exericses for specific languages or all languages.
- Supports custom output directory.
⚡ Setup
⚙️ Requirements
- Ruby 2.6.0 or higher
- gh (GitHub CLI)
💻 Installation
gem install exercism-fetcher
🚀 Usage
USAGE:
exercism-fetcher
--language: Language to fetch exercises for, default: all
--output: Output directory for exercises, default: exercism_data
Example:
exercism-fetcher --language ruby --output exercises
Development
After checking out the repo, run bin/setup
to install dependencies.
Then, run rake spec
to run the tests.
You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
.
To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and the created tag, and push the .gem
file to rubygems.org.
🏗️ What's Next
You tell me!
🧑💻 Behind The Code
🌈 Inspiration
I wanted to create tools around exercism, needed a simple tool to fetch the exercise data.
💡 Challenges/Learnings
- Learned about writing ruby gems and the ecosystem around it.
🔍 More Info
- exercism.nvim — Neovim plugin for exercism that uses this gem to fetch exercises.
<strong>⭐ hit the star button if you found this useful ⭐</strong><br>
<a href="https://github.com/2KAbhishek/exercism-fetcher">Source</a> | <a href="https://2kabhishek.github.io/blog" target="_blank">Blog </a> | <a href="https://twitter.com/2kabhishek" target="_blank">Twitter </a> | <a href="https://linkedin.com/in/2kabhishek" target="_blank">LinkedIn </a> | <a href="https://2kabhishek.github.io/links" target="_blank">More Links </a> | <a href="https://2kabhishek.github.io/projects" target="_blank">Other Projects </a>
</div>