{"id":47974358,"url":"https://github.com/zewelor/ps_events","last_synced_at":"2026-04-04T10:52:49.473Z","repository":{"id":293224684,"uuid":"983353472","full_name":"zewelor/ps_events","owner":"zewelor","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-03T06:44:46.000Z","size":16436,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-04T10:52:45.100Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zewelor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-05-14T08:58:30.000Z","updated_at":"2026-04-03T06:44:48.000Z","dependencies_parsed_at":"2025-05-14T09:51:47.126Z","dependency_job_id":"dfef94d3-21a1-4d79-9aea-de920eafa761","html_url":"https://github.com/zewelor/ps_events","commit_stats":null,"previous_names":["zewelor/ps_events"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zewelor/ps_events","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zewelor%2Fps_events","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zewelor%2Fps_events/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zewelor%2Fps_events/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zewelor%2Fps_events/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zewelor","download_url":"https://codeload.github.com/zewelor/ps_events/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zewelor%2Fps_events/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31397055,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-04-04T10:52:49.107Z","updated_at":"2026-04-04T10:52:49.458Z","avatar_url":"https://github.com/zewelor.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Readme\n\n\n[Link to ics](https://raw.githubusercontent.com/zewelor/ps_events/refs/heads/main/events.ics)\n\n## Setup\n\n- cp .env.example .env\n- source dockerized.sh\n- lefthook install -f\n\nRun hooks via the dockerized aliases:\n\n```bash\nsource dockerized.sh; lefthook run pre-commit\n```\n\n## Usage\n\n\n### API Authentication (OCR)\n\nEndpoint `/events_ocr` pode ser chamado com Bearer token em vez de Google OAuth.\n\n**Configurar no .env:**\n\n```bash\nAPI_KEYS=token1:email1@example.com,token2:email2@partner.pl\n```\n\n**Gerar um token (CLI):**\n\n```bash\njust gen_api_key\n```\n\n**Exemplo de chamada:**\n\n```bash\ncurl -X POST http://localhost:4567/events_ocr \\\n  -H \"Authorization: Bearer SEU_TOKEN\" \\\n  -F \"event_image=@plakat.jpg\"\n```\n\n\nGenerate an ICS file from the default Google Sheets CSV:\n\n```bash\n./bin/spreadsheet_to_ical \u003e events.ics\n```\n\nGenerate with a custom CSV URL:\n\n```bash\n./bin/spreadsheet_to_ical \"https://example.com/events.csv\" \u003e events.ics\n```\n\nUse the CLI for options:\n\n```bash\n./bin/cli -u \"https://example.com/events.csv\" -o events.ics\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzewelor%2Fps_events","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzewelor%2Fps_events","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzewelor%2Fps_events/lists"}