{"id":22457678,"url":"https://github.com/dankimio/repetition","last_synced_at":"2025-08-02T03:32:47.928Z","repository":{"id":40685980,"uuid":"20657956","full_name":"dankimio/repetition","owner":"dankimio","description":"Ruby implementation of the SuperMemo2 spaced-repetition algorithm","archived":false,"fork":false,"pushed_at":"2022-12-06T23:53:33.000Z","size":27,"stargazers_count":20,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-03T01:09:20.731Z","etag":null,"topics":["ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dankimio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.TXT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-09T18:43:04.000Z","updated_at":"2024-07-24T19:32:15.000Z","dependencies_parsed_at":"2023-01-24T12:31:00.647Z","dependency_job_id":null,"html_url":"https://github.com/dankimio/repetition","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dankimio%2Frepetition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dankimio%2Frepetition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dankimio%2Frepetition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dankimio%2Frepetition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dankimio","download_url":"https://codeload.github.com/dankimio/repetition/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228432595,"owners_count":17918894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ruby"],"created_at":"2024-12-06T08:09:04.367Z","updated_at":"2024-12-06T08:09:04.973Z","avatar_url":"https://github.com/dankimio.png","language":"Ruby","readme":"# Repetition\n\nRuby implementation of the SuperMemo2 spaced-repetition algorithm. This gem allows you to easily incorporate the power of spaced repetition into your Ruby projects. The algorithm is based on the principles of increasing the interval between repetitions of learned material based on the user's performance, resulting in efficient and long-term retention of information. Simply add this gem to your project and start using the provided methods to incorporate spaced repetition into your application.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'repetition'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install repetition\n\n## Usage\n\n```ruby\n# Default values are provided\nrepetition = Repetition::Flashcard.new(easiness_factor: 2.5, interval: 0, repetitions: 0)\n# Quality of recall: 0..5\n# Returns: date of the next recall =\u003e \u003cDate: 2018-08-09\u003e\nrepetition.recall(4)\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo 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 tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/dankimio/repetition.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdankimio%2Frepetition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdankimio%2Frepetition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdankimio%2Frepetition/lists"}