{"id":19501257,"url":"https://github.com/acryps/vlserver","last_synced_at":"2026-06-11T02:31:35.616Z","repository":{"id":57393495,"uuid":"303066102","full_name":"acryps/vlserver","owner":"acryps","description":"VLServer Managed Server","archived":false,"fork":false,"pushed_at":"2026-01-03T16:38:57.000Z","size":662,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-15T09:55:58.928Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/acryps.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-10-11T07:29:05.000Z","updated_at":"2026-01-03T16:39:00.000Z","dependencies_parsed_at":"2022-09-26T16:51:08.309Z","dependency_job_id":"80a87086-b526-428d-a116-28a550b9462e","html_url":"https://github.com/acryps/vlserver","commit_stats":null,"previous_names":["levvij/vlserver"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/acryps/vlserver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acryps%2Fvlserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acryps%2Fvlserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acryps%2Fvlserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acryps%2Fvlserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acryps","download_url":"https://codeload.github.com/acryps/vlserver/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acryps%2Fvlserver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34180147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-10T22:12:02.754Z","updated_at":"2026-06-11T02:31:35.600Z","avatar_url":"https://github.com/acryps.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm version](http://badge.acryps.com/npm/vlserver)](http://badge.acryps.com/go/npm/vlserver)\n![vlquery](http://badge.acryps.com/vlquery)\n\n\u003cimg src=\"doc/logo.svg\" height=\"50\"\u003e\n\n# vlserver API Binder\nvlserver automates api interfaces by automatically binding Services and ViewModels from the server to one or multiple clients.\n\n\u003e This package **requires** [vlquery](https://npmjs.com/vlquery).\n\n## Documentation\n[Getting Started](doc/getting-started.md)\u003cbr\u003e\n[Adapters](doc/adapters.md)\u003cbr\u003e\n[Data Exchange](doc/exchange.md)\n\n## Sponsoring and support\nThis project is sponsored and supported by [inter allied crypsis / ACRYPS](https://acryps.com) and [VLVT.IN GmbH](https://vlvt.in).\n\n## Example\nDeclare view models on the server\n```\nexport class AuthorViewModel extends ViewModel\u003cPerson\u003e {\n\tid;\n\n\tfirstname;\n\tlastname;\n}\n\nexport class BookViewModel extends ViewModel\u003cBook\u003e {\n\tid;\n\n\tname;\n\tauthor: AuthorViewModel;\n}\n```\n\nCreate a service on the server\n```\nexport class BookService extends Service {\n\tconstructor(\n\t\tprivate db: DbContext\n\t) {\n\t\tsuper();\n\t}\n\n\tgetBooks() {\n\t\treturn BookViewModel.from(this.db.book);\n\t}\n}\n```\n\nYou can use the service in your client (after generating the bindings with `vlserver compile`)\n```\nconst service = new BookService();\nservice.getBooks().then(books =\u003e {\n\tconsole.log(books); // [ BookViewModel, BookViewModel, ... ]\n});\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facryps%2Fvlserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facryps%2Fvlserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facryps%2Fvlserver/lists"}