{"id":22053425,"url":"https://github.com/bertrandom/costanzabot","last_synced_at":"2026-04-28T15:40:21.485Z","repository":{"id":16842765,"uuid":"19602502","full_name":"bertrandom/costanzabot","owner":"bertrandom","description":"Bot generated from a markov chain of everything George Costanza says in Seinfeld","archived":false,"fork":false,"pushed_at":"2014-05-09T07:36:33.000Z","size":692,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-24T21:11:31.952Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/bertrandom.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}},"created_at":"2014-05-09T07:09:52.000Z","updated_at":"2023-06-02T04:19:46.000Z","dependencies_parsed_at":"2022-07-14T17:48:00.330Z","dependency_job_id":null,"html_url":"https://github.com/bertrandom/costanzabot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bertrandom/costanzabot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertrandom%2Fcostanzabot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertrandom%2Fcostanzabot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertrandom%2Fcostanzabot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertrandom%2Fcostanzabot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bertrandom","download_url":"https://codeload.github.com/bertrandom/costanzabot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertrandom%2Fcostanzabot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32387916,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"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":"2024-11-30T15:16:41.116Z","updated_at":"2026-04-28T15:40:16.472Z","avatar_url":"https://github.com/bertrandom.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# costanzabot\n\nBot generated from a markov chain of everything George Costanza says in Seinfeld\n\n## Usage\n\n`./test.rb` will spit out an example tweet.\n\n## How this particular sausage was made\n\nor \"instructions for Future Bert if he wants to do this again\".\n\nThis was mostly just an excuse to play with [twitter_ebooks](https://github.com/mispy/twitter_ebooks).\n\nFirst, start with [seinfeld-scripts](https://github.com/colinpollock/seinfeld-scripts).\n\nNext, patch it with this [fix](https://github.com/cschep/seinfeld-scripts/blob/d34dd1deac1b71c760f59bf810494b51e5b87042/download.sh).\n\n```\nmkdir scripts\n./download.sh scripts\n```\n\nEdit `scripts/01.shtml` and change `pc: 101, season 1, episode 1 (Pilot)\u003cbr\u003e` to `pc: 101, season 1, episode 0 (Pilot)\u003cbr\u003e`.\n\n```\n./run.sh\n```\n\nThis will create an sqlite database called `seinfeld.db`.\n\nExtract everything that George says into a text file:\n\n```\nsqlite3 seinfeld.db \"SELECT sentence.utterance_id, sentence.text from sentence, utterance WHERE utterance.speaker = 'GEORGE' AND sentence.utterance_id = utterance.id;\" \u003e export.txt\n```\n\nMove export.txt to the `seed` directory of this repo.\n\nJoin the utterances into single lines of text with the parsing script:\n\n`./parse.rb \u003e costanza.txt`\n\nCreate a skeleton for the bot.\n\n`ebooks new costanzabot`\n\nMove `costanza.txt` into the `corpus` directory.\n\nConsume the lines into a Markov model:\n\n```\nebooks consume corpus/costanza.txt\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbertrandom%2Fcostanzabot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbertrandom%2Fcostanzabot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbertrandom%2Fcostanzabot/lists"}