{"id":18409626,"url":"https://github.com/portasynthinca3/elixir_politics","last_synced_at":"2025-04-14T15:14:05.094Z","repository":{"id":154550245,"uuid":"596704672","full_name":"portasynthinca3/elixir_politics","owner":"portasynthinca3","description":"Allows you to start communist and anarchist revolutions in your BEAM VM","archived":false,"fork":false,"pushed_at":"2023-02-02T19:39:38.000Z","size":5,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T04:09:17.005Z","etag":null,"topics":["anarchy","beam","communism","elixir","erlang"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/portasynthinca3.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":"2023-02-02T19:00:05.000Z","updated_at":"2023-12-18T13:16:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"aa4bb0c7-c71e-48a9-8ca0-ec16460ceef2","html_url":"https://github.com/portasynthinca3/elixir_politics","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/portasynthinca3%2Felixir_politics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/portasynthinca3%2Felixir_politics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/portasynthinca3%2Felixir_politics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/portasynthinca3%2Felixir_politics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/portasynthinca3","download_url":"https://codeload.github.com/portasynthinca3/elixir_politics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248904637,"owners_count":21180835,"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":["anarchy","beam","communism","elixir","erlang"],"created_at":"2024-11-06T03:26:18.539Z","updated_at":"2025-04-14T15:14:05.070Z","avatar_url":"https://github.com/portasynthinca3.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elixir politics\n\n## Installation\n```elixir\ndef deps do\n  [\n    {:politics, \"~\u003e 0.1.1\"}\n  ]\nend\n```\n\n## Communism\nA man once said to abolish the `classes` or something like that. Elixir doesn't have classes, so we thank our workers and terminate all non-workers.\n```\nErlang/OTP 24 [erts-12.3.2.8] [source] [64-bit] [smp:16:12] [ds:16:12:10] [async-threads:1] [jit]\n\nInteractive Elixir (1.14.3) - press Ctrl+C to exit (type h() ENTER for help)\niex(1)\u003e Communism.revolution\nSystem process \u003c0.6.0\u003e terminated: die_pig\n\nCrash dump is being written to: erl_crash.dump...done\n```\nAw jeez! It looks like the BEAM VM doesn't like communism :(\n\n## Anarchy\nA man once said to abolish the `state` or something like that. Fortunately for us, Elixir keeps state in predefined locations so that's quite easy to do!\n```\nErlang/OTP 24 [erts-12.3.2.8] [source] [64-bit] [smp:16:12] [ds:16:12:10] [async-threads:1] [jit]\n\nCompiling 1 file (.ex)\nInteractive Elixir (1.14.3) - press Ctrl+C to exit (type h() ENTER for help)\niex(1)\u003e Anarchy.revolution\n*** ERROR: Shell process terminated! (^G to start new job) ***\n```\nAw jeez!!! It looks like BEAM processes don't like it when their state gets erased!\n\n## Acknowledgements\nInspired by \u003chttps://github.com/jokteur/python_communism\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fportasynthinca3%2Felixir_politics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fportasynthinca3%2Felixir_politics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fportasynthinca3%2Felixir_politics/lists"}