{"id":26186936,"url":"https://github.com/ivarref/yasp","last_synced_at":"2026-04-28T03:38:35.661Z","repository":{"id":194783130,"uuid":"691518399","full_name":"ivarref/yasp","owner":"ivarref","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-07T19:42:57.000Z","size":141,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-08T19:26:43.491Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","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/ivarref.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-14T10:46:07.000Z","updated_at":"2024-08-08T19:26:43.492Z","dependencies_parsed_at":"2023-09-15T04:39:14.219Z","dependency_job_id":"7aa5717a-681b-4fdd-935c-e7fee35ee600","html_url":"https://github.com/ivarref/yasp","commit_stats":null,"previous_names":["ivarref/base64-pump","ivarref/yasp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivarref%2Fyasp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivarref%2Fyasp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivarref%2Fyasp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivarref%2Fyasp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ivarref","download_url":"https://codeload.github.com/ivarref/yasp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243131001,"owners_count":20241174,"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":"2025-03-11T23:35:42.521Z","updated_at":"2025-12-27T06:31:05.384Z","avatar_url":"https://github.com/ivarref.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yasp\n\nYasp and its companion yasp-client is proxy that does\nTCP over HTTP(S), encoded as JSON.\nIt can also do mutual TLS termination.\n\nYasp requires that your Clojure web server can receive a HTTP POST JSON\nrequest and produce a JSON response. \nThe server component otherwise only has a single dependency: `clojure.tools.logging`.\n\n## Overview\n\n```mermaid\nsequenceDiagram\n    local PC / e.g. nrepl-\u003e\u003eyasp-client: TCP\n    yasp-client-\u003e\u003eyasp-client-tls: mTLS connection (optional)\n    yasp-client-tls-\u003eweb server (yasp): HTTP POST JSON\n    web server (yasp)-\u003e\u003eyasp-server-mTLS-termination (optional): mTLS TCP\n    yasp-server-mTLS-termination (optional)-\u003e\u003eremote destination (e.g. nREPL server): TCP\n```\n\n## Examples\n\n[aleph example](https://github.com/ivarref/yasp/tree/main/aleph-example).\n\n## Installation\n\nAdd \n```clojure\n{:deps {com.github.ivarref/yasp {:...}}\n :aliases {:generate-keys {:deps      {com.github.ivarref/locksmith {:mvn/version \"0.1.6\"}}\n                           :exec-fn   com.github.ivarref.locksmith/write-certs!\n                           :exec-args {:duration-days 365}}\n           :proxy {:deps      {com.github.ivarref/yasp-client {:git/sha \"...\"}}\n                   :exec-fn   com.github.ivarref.yasp-client/start-server!\n                   :exec-args {:endpoint    \"http://localhost:8080/proxy\"\n                               :remote-host \"127.0.0.1\"\n                               :remote-port 7777\n                               :local-port  8888\n                               :tls-file    \"client.keys\"}}\n           }}\n```\nto your `deps.edn` file.\n\n## Usage\n\nAdd an endpoint to your exposed web server that forwards the data\nto yasp:\n\n```clojure\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivarref%2Fyasp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivarref%2Fyasp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivarref%2Fyasp/lists"}