{"id":16679707,"url":"https://github.com/buren/site_mapper","last_synced_at":"2025-03-21T18:32:20.565Z","repository":{"id":22246963,"uuid":"25580444","full_name":"buren/site_mapper","owner":"buren","description":"Map all links on a given site","archived":false,"fork":false,"pushed_at":"2021-11-29T14:34:43.000Z","size":39,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-13T13:36:58.789Z","etag":null,"topics":["gem","ruby","sitemapper"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/site_mapper","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/buren.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-22T12:34:25.000Z","updated_at":"2019-07-09T15:06:20.000Z","dependencies_parsed_at":"2022-08-20T12:11:02.610Z","dependency_job_id":null,"html_url":"https://github.com/buren/site_mapper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buren%2Fsite_mapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buren%2Fsite_mapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buren%2Fsite_mapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buren%2Fsite_mapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buren","download_url":"https://codeload.github.com/buren/site_mapper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221817547,"owners_count":16885560,"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":["gem","ruby","sitemapper"],"created_at":"2024-10-12T13:37:03.149Z","updated_at":"2024-10-28T10:35:41.173Z","avatar_url":"https://github.com/buren.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SiteMapper\n\n[![Code Climate](https://codeclimate.com/github/buren/site_mapper.png)](https://codeclimate.com/github/buren/site_mapper)\n[![Coverage Status](https://img.shields.io/coveralls/buren/site_mapper.svg)](https://coveralls.io/r/buren/site_mapper)\n[![Docs badge](https://inch-ci.org/github/buren/site_mapper.svg?branch=master)](http://www.rubydoc.info/github/buren/site_mapper/master)\n[![Build Status](https://travis-ci.org/buren/site_mapper.svg?branch=master)](https://travis-ci.org/buren/site_mapper)\n[![Dependency Status](https://gemnasium.com/buren/site_mapper.svg)](https://gemnasium.com/buren/site_mapper)\n[![Gem Version](https://badge.fury.io/rb/site_mapper.svg)](http://badge.fury.io/rb/site_mapper)\n\nMap all links on a given site.  \nSiteMapper will try to respect `/robots.txt`\n\nWorks great with [Wayback Archiver](https://github.com/buren/wayback_archiver) a gem that crawls your site and submits each URL to the [Internet Archive (Wayback Machine)](https://archive.org/web/).\n\n## Installation\nInstall the gem:\n\n```bash\ngem install site_mapper\n```\n\n## Usage\n\nCommand line usage:\n\n```bash\n# Crawl all found links on page\n# that has example.com domain\nsite_mapper example.com\n```\n\nRuby usage:\n\n```ruby\n# Crawl all found links on page\n# that has example.com domain\nrequire 'site_mapper'\nSiteMapper.map('example.com') do |new_url|\n  puts \"New URL found: #{new_url}\"\nend\n# Log to STDOUT\nSiteMapper.map('example.com', logger: :system) do |new_url|\n  puts \"New URL found: #{new_url}\"\nend\n```\n\n## Docs\n\nYou can find the docs online on [RubyDoc](http://www.rubydoc.info/github/buren/site_mapper/master).\n\nThis gem is documented using `yard` (run from the root of this respository).\n\n```bash\nyard # Generates documentation to doc/\n```\n\n## Contributing\n\nContributions, feedback and suggestions are very welcome.\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n## Notes\n\n* Special thanks to the [robots](https://rubygems.org/gems/robots) gem, which provided the bulk of the code in `lib/robots.rb`\n\n## Alternatives\n\nThere are a couple of __great__ alternatives, which are more mature and has more features than this Gem and has. Please feel free to check them out:\n\n* [spidr](https://github.com/postmodern/spidr#readme)\n* [anemone](https://github.com/chriskite/anemone#readme)\n\n## License\n\n[MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburen%2Fsite_mapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fburen%2Fsite_mapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburen%2Fsite_mapper/lists"}