{"id":26704183,"url":"https://github.com/bleachbit/hillary_clinton_email_generator","last_synced_at":"2025-04-13T13:34:06.207Z","repository":{"id":150939357,"uuid":"195300932","full_name":"bleachbit/hillary_clinton_email_generator","owner":"bleachbit","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-18T22:32:35.000Z","size":14256,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-18T23:35:28.798Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bleachbit.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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":"2019-07-04T21:05:12.000Z","updated_at":"2024-08-18T22:32:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"bcfb61af-0d76-42c8-b27d-c6f734965c7f","html_url":"https://github.com/bleachbit/hillary_clinton_email_generator","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/bleachbit%2Fhillary_clinton_email_generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bleachbit%2Fhillary_clinton_email_generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bleachbit%2Fhillary_clinton_email_generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bleachbit%2Fhillary_clinton_email_generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bleachbit","download_url":"https://codeload.github.com/bleachbit/hillary_clinton_email_generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245785686,"owners_count":20671630,"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":"2025-03-27T04:34:20.204Z","updated_at":"2025-03-27T04:34:20.671Z","avatar_url":"https://github.com/bleachbit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hillary Clinton Email Generator\n\nThe project uses the [markovify library](https://github.com/jsvine/markovify) (Markov Chains) and [Hillary Clinton's public email corpus](https://kaggle.com/kaggle/hillary-clinton-emails) to generate random emails by Clinton and her colleagues.\n\nThis email generator does the reverse of what [Hillary Clinton's IT guy did to her email server using BleachBit](https://www.bleachbit.org/news/bleachbit-stifles-investigation-hillary-clinton): instead of deleting Clinton's emails, it generates them. Remarkably, both are anti-forensic techniques because generating junk makes it more difficult to find your important data. Using the generator is like adding a haystack on top of the proverbial needle: it's harder to find the needle in the haystack than to find the needle in a clean space.\n\nThis repository has only the command-line version, which requires Python 2.7 or 3.x. For a GUI version with an installer, use [BleachBit](https://www.bleachbit.org)\n\n#### To generate emails\nCall `python generate_emails.py \u003cnumber_of_emails\u003e`. To use additional arguments, refer to:\n```\nusage: generate_emails.py [-h] [--number_of_sentences NUMBER_OF_SENTENCES]\n                          [--subject_length SUBJECT_LENGTH]\n                          [--email_output_path EMAIL_OUTPUT_PATH]\n                          [--content_model_path CONTENT_MODEL_PATH]\n                          [--subject_model_path SUBJECT_MODEL_PATH]\n                          [number_of_emails]\n\npositional arguments:\n  number_of_emails      Number of emails to generate. Default is 5\noptional arguments:\n  -h, --help            show this help message and exit\n  --number_of_sentences NUMBER_OF_SENTENCES\n                        Number of sentences per email to generate. Default is\n                        5\n  --subject_length SUBJECT_LENGTH\n                        Length of the subject line in characters. Default is\n                        64\n  --email_output_path EMAIL_OUTPUT_PATH\n                        Path to output the generated emails to. Default is\n                        ./emails.txt\n  --content_model_path CONTENT_MODEL_PATH\n                        Path to load the content model from. Default is\n                        ./content_model.json\n  --subject_model_path SUBJECT_MODEL_PATH\n                        Path to load the subject model from. Default is\n                        ./subject_model.json\n```\n\n#### To regenerate the Markov model\nCall `python generate_model.py`. To use additional arguments, refer to:\n```\nusage: generate_model.py [-h]\n                         [--markov_model_state_size MARKOV_MODEL_STATE_SIZE]\n                         [--use_only_hillarys_emails]\n                         [--emails_path EMAILS_PATH]\n                         [--content_model_path CONTENT_MODEL_PATH]\n                         [--subject_model_path SUBJECT_MODEL_PATH]\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --markov_model_state_size MARKOV_MODEL_STATE_SIZE\n                        State size of the Markov model to use. Default is 2\n  --use_only_hillarys_emails\n                        Include this flag to generate the model only from\n                        Hillary's emails. Default is False\n  --emails_path EMAILS_PATH\n                        Path to load the emails from. Default is\n                        ./Emails.csv\n  --content_model_path CONTENT_MODEL_PATH\n                        Path to load the content model from. Default is\n                        ./content_model.json\n  --subject_model_path SUBJECT_MODEL_PATH\n                        Path to load the subject model from. Default is\n                        ./subject_model.json\n```\n\n#### Links\n\n* [Wall Street Journal: Clinton Email Cruncher](https://github.com/wsjdata/clinton-email-cruncher)\n* [benhamner/hillary-clinton-emails](https://github.com/benhamner/hillary-clinton-emails)\n\n#### Licenses\n\nThe United States Department of State released [Hillary Clinton's emails](https://foia.state.gov/Search/Collections.aspx) into the public domain.\n\nMarkovify uses the [MIT license](https://github.com/jsvine/markovify/blob/master/LICENSE.txt).\n\nThe Hillary Clinton email generator uses the [GNU General Public License version 3](COPYING) or later.\n[Dionyz Lazar](https://dionysio.com/) wrote the original version under contract.\nCopyright (C) 2019 by Andrew Ziem.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbleachbit%2Fhillary_clinton_email_generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbleachbit%2Fhillary_clinton_email_generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbleachbit%2Fhillary_clinton_email_generator/lists"}