{"id":13586824,"url":"https://github.com/makenowjust/bashcached","last_synced_at":"2025-05-16T18:10:34.744Z","repository":{"id":78219330,"uuid":"72198370","full_name":"makenowjust/bashcached","owner":"makenowjust","description":"memcached server built on bash + socat","archived":false,"fork":false,"pushed_at":"2024-10-29T04:25:57.000Z","size":67,"stargazers_count":275,"open_issues_count":0,"forks_count":10,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-04-12T17:46:36.691Z","etag":null,"topics":["bash","bash-hacks","bash-script","memcached","shell-script","socat"],"latest_commit_sha":null,"homepage":"https://git.io/bashcached","language":"Ruby","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/makenowjust.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2016-10-28T10:29:20.000Z","updated_at":"2024-11-28T16:32:59.000Z","dependencies_parsed_at":"2024-12-04T01:04:04.113Z","dependency_job_id":"8e9bd510-1a63-4248-a213-67b318e17d6d","html_url":"https://github.com/makenowjust/bashcached","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makenowjust%2Fbashcached","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makenowjust%2Fbashcached/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makenowjust%2Fbashcached/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makenowjust%2Fbashcached/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/makenowjust","download_url":"https://codeload.github.com/makenowjust/bashcached/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254582907,"owners_count":22095518,"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":["bash","bash-hacks","bash-script","memcached","shell-script","socat"],"created_at":"2024-08-01T15:05:50.216Z","updated_at":"2025-05-16T18:10:34.724Z","avatar_url":"https://github.com/makenowjust.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# bashcached\n\n\u003e memcached server built on [bash] + [socat]\n\n[bash]: https://www.gnu.org/software/bash/\n[socat]: http://www.dest-unreach.org/socat/\n\n![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/makenowjust/bashcached/test.yml)\n\n## Feature\n\nIt is one file script (small, `(($(\u003c bashcached wc -l) \u003c 100))`!), and it requires only:\n\n  - `bash`\n  - `socat`\n\nSo, you can use it as soon as you download it.\n\nIt supports multiple connections and implements almost all memcached commands:\n\n  - `set`, `add`, `replace`, `append` and `prepend`\n  - `get`, `delete` and `touch`\n  - `incr` and `decr`\n  - `gets` and `cas`\n  - `flush_all`\n  - `version` and `quit`\n\nAnd, it supports to serve over `tcp` and `unix` domain socket.\n\n## Install\n\nYou could install `base64`, `bash` and `socat` via `brew` if you use macOS:\n\n```console\n$ brew install base64 bash socat\n```\n\n(In fact, `bash` is installed in the default on macOS, however it is *too old* to run `bashcached`.)\n\nOr, you could install `socat` via `apt` if you use Ubuntu:\n\n```console\n$ sudo apt install socat\n```\n\nthen, download and chmod.\n\n```console\n$ curl -LO https://git.io/bashcached\n$ chmod +x bashcached\n```\n\nOr, you could use [`bpkg`](https://github.com/bpkg/bpkg) instaed of downloading script:\n\n```console\n$ bpkg install makenowjust/bashcached -g\n```\n\n## Usage\n\n```console\n$ ./bashcached --help\nbashcached - memcached built on bash + socat\n(C) TSUYUSATO \"MakeNowJust\" Kitsune 2016-2024 \u003cmake.just.on@gmail.com\u003e\n\nUSAGE: bashcached [--help] [--version] [--license] [--protocol=tcp|unix] [--port=PORT] [--check=CHECK]\n\nOPTIONS:\n  --protocol=tcp|unix      protocol name to bind and listen (default: tcp)\n  --port=PORT              port (or filename) to bind and listen (default: 25252)\n  --check=CHECK            interval to check each cache's expire (default: 60)\n  --help                   show this help\n  --version                show bashcached's version\n  --license                show bashcached's license\n$ ./bashcached \u0026\n$ telnet localhost 25252\nversion\nVERSION 5.2.0-bashcached\nset hello 0 0 11\nhello world\nSTORED\nget hello\nVALUE hello 0 11\nhello world\nEND\nquit\n```\n\n## License and Copyright\n\nMIT and [:sushi:](https://github.com/MakeNowJust/sushi-ware)\n© TSUYUSATO \"[MakeNowJust](https://quine.codes)\" Kitsune \u003c\u003cmake.just.on@gmail.com\u003e\u003e 2016-2024\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakenowjust%2Fbashcached","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmakenowjust%2Fbashcached","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakenowjust%2Fbashcached/lists"}