{"id":15960546,"url":"https://github.com/lucaswerkmeister/itsbinotstraight","last_synced_at":"2025-08-17T13:31:25.768Z","repository":{"id":148665172,"uuid":"226591967","full_name":"lucaswerkmeister/itsbinotstraight","owner":"lucaswerkmeister","description":"Mastodon bot","archived":false,"fork":false,"pushed_at":"2025-07-15T18:07:01.000Z","size":380,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-16T21:54:27.672Z","etag":null,"topics":["bi","bisexual","bot","lgbt","mastodon","mastodon-bot"],"latest_commit_sha":null,"homepage":"https://fox.nexus/@ItsBiNotStraight","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lucaswerkmeister.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2019-12-08T00:02:31.000Z","updated_at":"2025-07-15T18:07:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"f1900810-e79a-4034-ba9d-784fcd2582c4","html_url":"https://github.com/lucaswerkmeister/itsbinotstraight","commit_stats":{"total_commits":116,"total_committers":2,"mean_commits":58.0,"dds":0.008620689655172376,"last_synced_commit":"b644ec99c3d3feecc15905a070cd39f49193f463"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lucaswerkmeister/itsbinotstraight","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucaswerkmeister%2Fitsbinotstraight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucaswerkmeister%2Fitsbinotstraight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucaswerkmeister%2Fitsbinotstraight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucaswerkmeister%2Fitsbinotstraight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucaswerkmeister","download_url":"https://codeload.github.com/lucaswerkmeister/itsbinotstraight/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucaswerkmeister%2Fitsbinotstraight/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265563687,"owners_count":23788742,"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":["bi","bisexual","bot","lgbt","mastodon","mastodon-bot"],"created_at":"2024-10-07T15:20:27.638Z","updated_at":"2025-08-17T13:31:25.758Z","avatar_url":"https://github.com/lucaswerkmeister.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# it’s bi not straight\n\nA [Mastodon bot](https://fox.nexus/@ItsBiNotStraight)\nposting riffs on the “it’s the bible not the straightble” joke.\n(Formerly a [different Mastodon bot](https://botsin.space/@ItsBiNotStraight)\nand before then also a [Twitter bot](https://twitter.lucaswerkmeister.de/ItsBiNotHetero/).)\n\n## Word list\n\nThe [word list](./biwords) was imported from English Wiktionary in December 2019.\nOccasionally, words are removed from it if they turn out to be inappropriate.\nFeel free to contact the bot operator or send a pull request if you think a word should be removed.\n\n## Development\n\nThe bot is written in Rust.\n(An earlier version, which you can find in the Git history, was written in JS;\nit only supported Twitter and had minor differences in Unicode handling.)\n\nRun `cargo run` to generate a post text (without sending a post),\nor `cargo test` to run unit tests.\nCargo will automatically download and build dependencies as needed.\n\n`src/lib.rs` is the meat of the bot, generating the post texts.\n`src/main.rs`, the main binary (and default for `cargo run`), simply generates one post text and prints it out.\n`src/bin/post.rs` is the binary that actually sends a post,\nloading credentials from the `.env` file or process environment,\nand the one that is deployed to the server.\nYou can run it directly with `cargo run --bin post`.\n\n## Deployment\n\nBuild an image suitable as a [portable service](https://systemd.io/PORTABLE_SERVICES/), using `./make-image`.\nAn `.env` file with valid credentials must exist at image build time\nand will be included in the image.\n(The credentials are sensitive,\nso they are not included in this repository\nand you should not distribute the image containing them.\nSee `.env.template` for the format.)\n\nCopy the resulting image (`itsbinotstraight/`) on some server into `/var/lib/portables/`,\nattach it e. g. with `portablectl attach itsbinotstraight`\nand enable it with `systemctl enable --now itsbinotstraight.timer`.\n(You can also send a single post with `systemctl start itsbinotstraight.service` first, to see if it works.)\n\nSee also `DEPLOYING.md`.\n\n## License\n\nThe code in this repository is released under the AGPL v3,\nas provided in the `LICENSE` file.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucaswerkmeister%2Fitsbinotstraight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucaswerkmeister%2Fitsbinotstraight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucaswerkmeister%2Fitsbinotstraight/lists"}