{"id":14128656,"url":"https://github.com/felko/sluggo","last_synced_at":"2025-08-03T23:31:57.399Z","repository":{"id":43609888,"uuid":"71491897","full_name":"felko/sluggo","owner":"felko","description":"Smart shell that can handle mutliple REPLs","archived":false,"fork":false,"pushed_at":"2016-10-22T00:35:50.000Z","size":22,"stargazers_count":13,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-16T16:22:48.232Z","etag":null,"topics":["repl","shell","terminal"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/felko.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}},"created_at":"2016-10-20T18:24:49.000Z","updated_at":"2023-01-11T14:44:36.000Z","dependencies_parsed_at":"2022-08-19T17:20:53.205Z","dependency_job_id":null,"html_url":"https://github.com/felko/sluggo","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/felko%2Fsluggo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felko%2Fsluggo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felko%2Fsluggo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felko%2Fsluggo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felko","download_url":"https://codeload.github.com/felko/sluggo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228571844,"owners_count":17938772,"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":["repl","shell","terminal"],"created_at":"2024-08-15T16:02:00.457Z","updated_at":"2024-12-07T06:31:34.094Z","avatar_url":"https://github.com/felko.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"sluggo\n======\n\nsluggo is a shell that can handle multiple REPLs.\n\nIt provides a few REPLs implementations, including\na git REPL, a Python REPL, and a general command\nREPL.\n\n\n## Demo\n\n[![asciicast](https://asciinema.org/a/8i56cd2twd96r9xpxwp4m6saf.png)](https://asciinema.org/a/8i56cd2twd96r9xpxwp4m6saf)\n\n\n## Features\n\nsluggo features a few basic commands that allow you\nto switch between REPLs:\n\n- `!go [repl]`: switch to the specified REPL\n- `@[repl] [cmd]`: executes the command from the specified REPL\n- `$[cmd]`: executes a system command\n- `!open [repl]`: opens a REPL session without switching\n- `!close [repl]`: closes the specified REPL\n- `!alias [name] [cmd]`: Creates an alias to a command that can be called with `![name]`\n- `!quit`: closes the current one if no argument is given\n- `!exit`: exits sluggo\n- `!cls`: clears the console\n- `!reload`: reloads the configuration file and the plugins\n\n\n## Modularity\n\nsluggo is extensible. That means you can define your\nown REPLs easily:\n\n```python\nimport sluggo\n\nclass parrot(sluggo.REPL):\n    def eval(self, input):\n        print(input)\n```\n\nYou just need to put this in your ~/.sluggo/plugins directory for it to be\nloaded automatically:\n\n```bash\n$ !go parrot\nparrot\u003e hey\nhey\nparrot\u003e it's annoying\nit's annoying\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelko%2Fsluggo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelko%2Fsluggo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelko%2Fsluggo/lists"}