{"id":20739288,"url":"https://github.com/pandawhisperer/spin_rewriter","last_synced_at":"2026-06-08T07:02:21.048Z","repository":{"id":56896622,"uuid":"261276984","full_name":"PandaWhisperer/spin_rewriter","owner":"PandaWhisperer","description":"SpinRewriter Ruby Gem","archived":false,"fork":false,"pushed_at":"2023-01-03T15:32:09.000Z","size":26,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-14T04:43:59.495Z","etag":null,"topics":["api-client","ruby","ruby-gem"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/spin_rewriter","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/PandaWhisperer.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2020-05-04T19:30:14.000Z","updated_at":"2020-05-05T20:30:39.000Z","dependencies_parsed_at":"2023-02-01T07:16:26.795Z","dependency_job_id":null,"html_url":"https://github.com/PandaWhisperer/spin_rewriter","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PandaWhisperer%2Fspin_rewriter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PandaWhisperer%2Fspin_rewriter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PandaWhisperer%2Fspin_rewriter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PandaWhisperer%2Fspin_rewriter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PandaWhisperer","download_url":"https://codeload.github.com/PandaWhisperer/spin_rewriter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243030762,"owners_count":20224663,"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":["api-client","ruby","ruby-gem"],"created_at":"2024-11-17T06:24:22.115Z","updated_at":"2025-12-24T07:53:11.035Z","avatar_url":"https://github.com/PandaWhisperer.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SpinRewriter Ruby Gem\n\n[Spin Rewriter](http://www.spinrewriter.com/) is an online\nservice for spinning text (synonym substitution) that creates unique version(s)\nof existing text. This package provides a way to easily interact with\n[SpinRewriter API](http://www.spinrewriter.com/api). Usage requires an\naccount, [get one here](http://www.spinrewriter.com/registration).\n\nThis gem is basically a direct port of the official [Python client](https://github.com/niteoweb/spinrewriter), including a few idiosyncracies found in the original.\nIt's not exactly the greatest Ruby code, but it works.\n\n## Features\n\n- Supports all available API calls (`api_quota`, `text_with_spintax`, `unique_variation`, `unique_variation_from_spintax`)\n- Supports the same options as the Python module\n\n## Installation\n\nAdd this line to your application's `Gemfile`:\n\n```ruby\ngem 'spin_rewriter'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install spin_rewriter\n\n## Usage\n\nAfter installing it, this is how you use it::\n\nInitialize SpinRewriter.\n\n    \u003e require 'spin_rewriter'\n    \u003e rewriter = SpinRewriter::Api.new('username', 'api_key')\n\nRequest processed spun text with spintax.\n\n    \u003e text = \"This is the text we want to spin.\"\n    \u003e rewriter.text_with_spintax(text)\n    \"{This is|This really is|That is|This can be} some text that we'd {like to\n    |prefer to|want to|love to} spin.\"\n\nRequest a unique variation of processed given text.\n\n    \u003e rewriter.unique_variation(text)\n    \"This really is some text that we'd love to spin.\"\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/PandaWhisperer/spin_rewriter.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpandawhisperer%2Fspin_rewriter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpandawhisperer%2Fspin_rewriter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpandawhisperer%2Fspin_rewriter/lists"}