{"id":16348794,"url":"https://github.com/sleibrock/racket-friday","last_synced_at":"2026-01-26T04:33:17.273Z","repository":{"id":110072276,"uuid":"460107480","full_name":"sleibrock/racket-friday","owner":"sleibrock","description":"Run Racket code only when it's Friday","archived":false,"fork":false,"pushed_at":"2022-02-16T22:41:50.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-19T11:11:25.263Z","etag":null,"topics":["comedy","friday","racket","racket-lang"],"latest_commit_sha":null,"homepage":"","language":"Racket","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/sleibrock.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-16T17:27:44.000Z","updated_at":"2022-06-05T19:22:54.000Z","dependencies_parsed_at":"2023-04-03T16:49:41.260Z","dependency_job_id":null,"html_url":"https://github.com/sleibrock/racket-friday","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"101263f316fe49e4e79347abf94c1296602ca5b8"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sleibrock/racket-friday","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sleibrock%2Fracket-friday","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sleibrock%2Fracket-friday/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sleibrock%2Fracket-friday/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sleibrock%2Fracket-friday/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sleibrock","download_url":"https://codeload.github.com/sleibrock/racket-friday/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sleibrock%2Fracket-friday/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28766886,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T03:54:34.369Z","status":"ssl_error","status_checked_at":"2026-01-26T03:54:33.031Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["comedy","friday","racket","racket-lang"],"created_at":"2024-10-11T00:55:04.919Z","updated_at":"2026-01-26T04:33:17.255Z","avatar_url":"https://github.com/sleibrock.png","language":"Racket","funding_links":[],"categories":[],"sub_categories":[],"readme":"racket-friday\n=======\n\nCode that only runs when it is Friday. Inspired by [perl-friday](https://github.com/jwilk/perl-friday).\n\nExample of running the `friday.rkt` file.\n```\n$ racket friday.rkt\non-friday: It's not friday\n  context....:\n  ...\n```\n\nUsing `on-friday` in practice.\n```racket\n#lang racket\n\n(require \"friday.rkt\")\n\n(on-friday\n  (define my-numbers (range 100))\n  (define filtered (filter odd? my-numbers))\n  (for-each (lambda (k) (displayln \"~a x ~a = ~a\" k k (* k k)))\n            filtered))\n\n...\non-friday: it's not friday  ; if it isn't friday\n1 x 1 = 1\n2 x 2 = 4\n3 x 3 = 9\n...       ; if it is friday\n```\n\nThere are too many ways of writing syntactically incorrect code, so I opted to write code that only *runs* when it is Friday. This is a language macro that re-writes your code to run the code when it is Friday, or it produces an error when it is not.\n\nA complete joke... unless you want to implement it in your code. I am not at fault. MIT License for all. Semi-inspired by the legendary `only-once` macro.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsleibrock%2Fracket-friday","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsleibrock%2Fracket-friday","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsleibrock%2Fracket-friday/lists"}