Skip to content

2KAbhishek/exercism-fetcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

25 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

License People Stars Forks Watches Last Updated

Fetch Exercism Tracks Data πŸ’ͺπŸ”½

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.

⭐ hit the star button if you found this useful ⭐

Source | Blog | Twitter | LinkedIn | More Links | Other Projects

About

Fetch Exercism Tracks Data πŸ’ͺπŸ”½

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published