{"id":16079152,"url":"https://github.com/pat/livecal","last_synced_at":"2026-01-11T03:33:09.486Z","repository":{"id":56881698,"uuid":"374345527","full_name":"pat/livecal","owner":"pat","description":"Translate ical/ics files into actual calendars and events","archived":false,"fork":false,"pushed_at":"2024-09-30T13:17:03.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-07T16:29:32.394Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-06T11:43:00.000Z","updated_at":"2024-09-30T13:17:05.000Z","dependencies_parsed_at":"2024-12-06T22:33:54.245Z","dependency_job_id":"20732b7c-38fd-4b6b-90f8-ae6ea8fd0fce","html_url":"https://github.com/pat/livecal","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"5ba805a840eb2af08a2414cf0a615d9a2d9fa3d5"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pat%2Flivecal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pat%2Flivecal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pat%2Flivecal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pat%2Flivecal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pat","download_url":"https://codeload.github.com/pat/livecal/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233408223,"owners_count":18671812,"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":[],"created_at":"2024-10-09T10:41:00.482Z","updated_at":"2025-09-17T16:32:23.092Z","avatar_url":"https://github.com/pat.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Livecal\n\nLivecal processes ical files and translates them into calendars with events listed as they're actually scheduled (i.e. recurring events are provided for each instance that they occur, not just the single piece of information that they're stored as in an ical file).\n\n## Usage\n\n```ruby\n# You must provide from/to (otherwise endless recurring events will continue\n# forever). The example here is the next 24 hours, but you can use whatever\n# frame of time you like.\n)\ncalendars = Livecal.from_string(\n  contents_of_an_ical_file,\n  from: Time.now,\n  to: (Time.now + 86_400)\n)\n\ncalendars.each do |calendar|\n  calendar.events.each do |event|\n    puts event.summary, event.starts_at, event.ends_at\n  end\nend\n\n# Also:\ncalendars = Livecal.from_url(\n  \"http://example.com/calendar.ics\",\n  from: Time.now,\n  to: (Time.now + 86_400)\n)\n# And:\ncalendars = Livecal.from_file(\n  \"/path/to/my-calendars.ics\",\n  from: Time.now,\n  to: (Time.now + 86_400)\n)\n```\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem \"livecal\"\n```\n\nAnd then execute:\n\n    $ bundle install\n\nOr install it yourself as:\n\n    $ gem install livecal\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\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/pat/livecal. 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/pat/livecal/blob/master/CODE_OF_CONDUCT.md).\n\n## License\n\nThe gem is available as open source under the terms of the [Hippocratic License](https://firstdonoharm.dev).\n\n## Code of Conduct\n\nEveryone interacting in the Livecal project is expected to follow the [code of conduct](https://github.com/pat/livecal/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpat%2Flivecal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpat%2Flivecal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpat%2Flivecal/lists"}