{"id":15426132,"url":"https://github.com/cryptaliagy/fsa-bot","last_synced_at":"2025-08-25T22:07:43.236Z","repository":{"id":130254170,"uuid":"331841613","full_name":"cryptaliagy/fsa-bot","owner":"cryptaliagy","description":"Bot version of PyFSA to use in discord","archived":false,"fork":false,"pushed_at":"2021-01-25T20:34:06.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-10T02:14:34.189Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/cryptaliagy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2021-01-22T05:02:01.000Z","updated_at":"2021-01-26T21:15:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"ab94e68a-b827-4eba-8816-07391a2b5f48","html_url":"https://github.com/cryptaliagy/fsa-bot","commit_stats":null,"previous_names":["cryptaliagy/fsa-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptaliagy%2Ffsa-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptaliagy%2Ffsa-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptaliagy%2Ffsa-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptaliagy%2Ffsa-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cryptaliagy","download_url":"https://codeload.github.com/cryptaliagy/fsa-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247214153,"owners_count":20902731,"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":"2024-10-01T17:54:56.898Z","updated_at":"2025-04-04T16:41:43.171Z","avatar_url":"https://github.com/cryptaliagy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fsa-bot\n\nProject auto-generated by [krait](http://tlia.ca/krait)\n\n\nA bot to render state graphs on discord! This bot uses [PyFSA](https://github.com/taliamax/pyfsa) as a backend to render the graphs from the input.\n\nThis bot uses space-separated CSV blocks to organize the state machine and properly label the transitions. This means that you can write state machines purely in discord, and have them join the discussion. No more having to install a CLI and figure out dependencies!\n\n\nSome example usage:\n\n```\n$state \"a,x,y b,x,z a,y,x b,y,z b,y,z a,z,z b,z,z\"\n```\n\nYou can also pass all options supported by the CLI to the command as well, which will let you set things such as the start node, end node, and even layout engine. This is done with key-value pairs, separated by an equal sign\n\n```\n$state \"a,x,y b,x,z a,y,x b,y,z b,y,z a,z,z b,z,z\" start=x end=z engine=dot\n```\n\nKeep in mind, if you need to separate data by spaces, you'll need to wrap the whole term in quotation marks.\n\n\u003c!-- Commented out as it is not currently usable\nThis bot also supports rendering walk-throughs of state graphs with specific strings. For those, you'll need to specify the start state, the end state, and the string, as well as the state transitions. Here's an example:\n\n```\n$string \"states=a,x,y b,x,z a,y,x b,y,z b,y,z a,z,z b,z,z\" start=x end=z string=aaaba\n```\n\nIf the string is valid in that state machine, the final node of the resulting graph will be green.\n--\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptaliagy%2Ffsa-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcryptaliagy%2Ffsa-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptaliagy%2Ffsa-bot/lists"}