{"id":15684852,"url":"https://github.com/erfanium/symbolism","last_synced_at":"2026-01-07T17:49:45.879Z","repository":{"id":114228905,"uuid":"294506811","full_name":"erfanium/symbolism","owner":"erfanium","description":"RPC-based HTTP micro-framework with using javascript's symbol magics","archived":false,"fork":false,"pushed_at":"2020-09-14T14:47:00.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T12:45:32.549Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"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/erfanium.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-10T19:43:55.000Z","updated_at":"2020-09-14T14:47:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"92e36887-e793-47a4-b1ce-ad9f5cdf5993","html_url":"https://github.com/erfanium/symbolism","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/erfanium%2Fsymbolism","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfanium%2Fsymbolism/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfanium%2Fsymbolism/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfanium%2Fsymbolism/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erfanium","download_url":"https://codeload.github.com/erfanium/symbolism/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246307931,"owners_count":20756478,"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-03T17:22:02.381Z","updated_at":"2026-01-07T17:49:45.823Z","avatar_url":"https://github.com/erfanium.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# symbolism\nRPC-based HTTP micro-framework with using javascript's symbol magics\n\nStage: idea\n\n### Demo\n```js\nimport { statusCodeSym, bodySym, urlSym } from 'symbolism'\n\nexport function getPosts() {\n   return Posts.find({})\n}\n\nexport function createPost(params) {\n   return Posts.create(params)\n}\n\nexport function echoUrl(params) {\n   return {\n      [bodySym]: params[urlSym],\n      [statusCodeSym]: 200\n   }\n}\n\nexport function echoHeaders(params) {\n   return {\n      [bodySym]: params[headersSym],\n   }\n}\n\n\n\nsymbolism.get('/posts', getPosts)\nsymbolism.post('/posts', createPost)\nsymbolism.get('/url', echoUrl)\nsymbolism.get('/headers', echoHeaders)\n\n```\n\n### Why?\n\n- no more `request` - `reply/response` objects and its sucks\n- crazy easy to test, beacuse there's no need to mock `request/reply` objects\n- everything is just simple functions - no extra dependencies in code\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferfanium%2Fsymbolism","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferfanium%2Fsymbolism","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferfanium%2Fsymbolism/lists"}