{"id":15511044,"url":"https://github.com/andrewmcodes/forem_lite","last_synced_at":"2025-04-28T11:47:30.570Z","repository":{"id":56847505,"uuid":"282627583","full_name":"andrewmcodes/forem_lite","owner":"andrewmcodes","description":"A simple tool to help you get articles from Forem/Dev.to","archived":false,"fork":false,"pushed_at":"2020-08-21T22:34:35.000Z","size":22,"stargazers_count":11,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-01T13:05:54.379Z","etag":null,"topics":["api","devto","forem","gem","hacktoberfest","ruby","wrapper"],"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/andrewmcodes.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null},"funding":{"github":"andrewmcodes"}},"created_at":"2020-07-26T10:36:01.000Z","updated_at":"2023-05-04T10:28:35.000Z","dependencies_parsed_at":"2022-08-31T06:51:38.065Z","dependency_job_id":null,"html_url":"https://github.com/andrewmcodes/forem_lite","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewmcodes%2Fforem_lite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewmcodes%2Fforem_lite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewmcodes%2Fforem_lite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewmcodes%2Fforem_lite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewmcodes","download_url":"https://codeload.github.com/andrewmcodes/forem_lite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233682458,"owners_count":18713553,"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","devto","forem","gem","hacktoberfest","ruby","wrapper"],"created_at":"2024-10-02T09:52:36.663Z","updated_at":"2025-01-13T01:57:01.295Z","avatar_url":"https://github.com/andrewmcodes.png","language":"Ruby","readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eForemLite\u003c/h1\u003e\n  \u003cp\u003e\n    \u003ca href=\"LICENSE\" target=\"_blank\"\u003e\n      \u003cimg alt=\"License: MIT\" src=\"https://img.shields.io/github/license/andrewmcodes/forem_lite\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://badge.fury.io/rb/forem_lite\"\u003e\u003cimg src=\"https://badge.fury.io/rb/forem_lite.svg\" alt=\"Gem Version\" height=\"18\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://depfu.com\"\u003e\u003cimg src=\"https://badges.depfu.com/badges/9cf174e17d58cbd60ea040722701e652/status.svg\" alt=\"Depfu\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://depfu.com/github/andrewmcodes/forem_lite?project_id=14214\"\u003e\u003cimg src=\"https://badges.depfu.com/badges/9cf174e17d58cbd60ea040722701e652/count.svg\" alt=\"Depfu\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://codeclimate.com/github/andrewmcodes/forem_lite/maintainability\"\u003e\u003cimg src=\"https://api.codeclimate.com/v1/badges/999e4e19ff915c1d4c8a/maintainability\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.codacy.com/manual/andrewmcodes/forem_lite?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=andrewmcodes/forem_lite\u0026amp;utm_campaign=Badge_Grade\"\u003e\u003cimg src=\"https://app.codacy.com/project/badge/Grade/4954986dea2e4732add795399a3c8c9d\"/\u003e\u003c/a\u003e\n    \u003ca href='https://coveralls.io/github/andrewmcodes/forem_lite?branch=main'\u003e\u003cimg src='https://coveralls.io/repos/github/andrewmcodes/forem_lite/badge.svg?branch=main' alt='Coverage Status' /\u003e\u003c/a\u003e\n    \u003cimg alt=\"inch ci\" src=\"http://inch-ci.org/github/andrewmcodes/forem_lite.svg?branch=main\u0026style=shields\"\u003e\n    \u003cimg alt=\"Tests\" src=\"https://github.com/andrewmcodes/forem_lite/workflows/Tests/badge.svg\" /\u003e\n    \u003cimg alt=\"Linters\" src=\"https://github.com/andrewmcodes/forem_lite/workflows/Linters/badge.svg\" /\u003e\n    \u003cimg alt=\"Changelog\" src=\"https://github.com/andrewmcodes/forem_lite/workflows/Changelog/badge.svg\" /\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\nA simple tool to help you get articles from Forem/Dev.to.\n\nThe patterns laid out in this gem could easily be used to finish building out the rest of the API, but I only needed articles so I am leaving the rest up to contributors or for when I eventually need to use it as well.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem \"forem_lite\"\n```\n\nAnd then execute:\n\n```bash\nbundle install\n```\n\nOr install it yourself as:\n\n```bash\ngem install forem_lite\n```\n\n## Usage\n\n```rb\nrequire \"forem_lite\"\n\nc = ForemLite::Client.new\n\n# https://docs.dev.to/api/#operation/getArticles\narticles = c.articles\narticles.first.title # =\u003e \"How do you keep notes?\"\n\n# https://docs.dev.to/api/#operation/getArticleById\narticle = c.article(279134)\narticle.title # =\u003e \"A11Y in Rails: Automated Linting with AccessLint🎉\"\narticle.url # =\u003e \"https://dev.to/andrewmcodes/a11y-in-rails-automated-linting-with-accesslint-1618\"\n```\n\n## Development\n\nAfter 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.\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/andrewmcodes/forem_liteent. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/andrewmcodes/forem_liteent/blob/master/CODE_OF_CONDUCT.md).\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the DevApi project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/andrewmcodes/forem_liteent/blob/master/CODE_OF_CONDUCT.md).\n","funding_links":["https://github.com/sponsors/andrewmcodes"],"categories":["Ruby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewmcodes%2Fforem_lite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewmcodes%2Fforem_lite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewmcodes%2Fforem_lite/lists"}