{"id":18837154,"url":"https://github.com/lightnet/rusthttpgunjs","last_synced_at":"2025-04-14T06:22:12.728Z","repository":{"id":142372916,"uuid":"208323585","full_name":"Lightnet/rusthttpgunjs","owner":"Lightnet","description":"Prototype rust gun for server side. Client rust not worked on. Client browser work partly.","archived":false,"fork":false,"pushed_at":"2019-11-04T18:51:40.000Z","size":94,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T20:07:57.818Z","etag":null,"topics":["database","gunjs","javascript","rust-lang","rust-library"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/Lightnet.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":"2019-09-13T18:28:56.000Z","updated_at":"2020-01-30T21:41:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"65867c8d-278e-4db6-b54d-6037d3bb742e","html_url":"https://github.com/Lightnet/rusthttpgunjs","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/Lightnet%2Frusthttpgunjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lightnet%2Frusthttpgunjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lightnet%2Frusthttpgunjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lightnet%2Frusthttpgunjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lightnet","download_url":"https://codeload.github.com/Lightnet/rusthttpgunjs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248830904,"owners_count":21168368,"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":["database","gunjs","javascript","rust-lang","rust-library"],"created_at":"2024-11-08T02:34:09.269Z","updated_at":"2025-04-14T06:22:12.711Z","avatar_url":"https://github.com/Lightnet.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rusthttpgunjs\n\n## License: MIT\n\n## Created By: Lightnet\n\n## Status:\n * Simple http and websocket (simple test)\n * Building Gunjs Database rust to gunrs library.\n * Learning rust language\n\n## Information:\n  Just a prototype to develop gun database rust server for gunjs database setup. Testing different type of server package and ease of use and understand the rust language code.\n\n## Porting from:\n * https://github.com/gundb/port\n \n## Packages:\n * actix-web = \"1.0.0\" ( main test area)\n  \n## Setup | Build:\n  Note you need to install rust lanuguage.\n\n * actixwebgun (project / main)\n\n```\ncargo run -p actixhttpgun\n```\n\n The project folder main test actixwebgun. Since it easy to develop test file.\n\n### Features:\n * Server\n   * Get\n   * Put\n   * Dup Checks\n   * Hem Checks\n * Client\n   * Send Test\n\n## Folders workspace:\n * Note this is move to httpwscrates branch.\n\n| Package     | Crates  | workspace       | Server | Client | Lib | File Size | Status | gunrs  | json  |\n| ---         |---      | ---             | ---    | ---    | --- | ---       | ---    | ---    | ---   |\n| actix-web   | 247     | actixwebgun     | x      | o      | o   | 12,163 KB | wip    | x      | x     |\n| rocket      |  83     | rocketgun       | x      | o      | o   | 8,886 KB  | ???    | o      | o     |\n| warp        | 198     | warpgun         | x      | o      | o   | 8,179 KB  | ???    | o      | o     |\n| hyper       | 132     | hypergun        | x      | o      | o   | 5,836 KB  | ???    | o      | o     |\n| tungstenite | 79      | tungstenitegun  | x      | o      | o   | 4,015 KB  | ???    | o      | o     |\n| tokio       | 118     | tokiogun        | x      | o      | o   | 3,948 KB  | ???    | o      | o     |\n| rouille     | 114     | rouillegun      | x      | o      | o   | 2,641 KB  | ???    | o      | o     |\n| websocket   | 100     | websocketgun    | x      | o      | o   | 2,191 KB  | ???    | o      | o     |\n| ws          | 81      | wsgun           | x      | o      | o   | 1,580 KB  | ???    | o      | o     |\n| TcpListener |  1      | httpgunjs       | x      | o      | o   | 188 KB    | ???    | o      | o     |\n| gunrs       |  1      | gunrs           | o      | o      | x   | 427 KB    | wip    | o      | o     |\n\n * Those are just simple test file size.\n\n## Tests:\n * actix-web / gun (tested / wip)\n * warp / gun (partly tested)\n * hyper / gun (partly tested)\n * warp / gun (partly tested)\n * ws / gun (partly tested)\n * tokio / gun (partly tested)\n * tungstenite / gun (partly tested)\n * rouille / gun (partly tested)\n * http / gun (raw with websocket/ws package???)\n * gun (wip)\n\n## command line:\n```\ncargo run -p actixwebgun //server host web \ncargo run -p rouillegun //server host web \ncargo run -p httpgunjs //server host web simple page web\ncargo run -p datagun //test gunrs\n```\n\n## Window Linux subsystem:\n Make sure you have firewall, antvirus and others disable else it conflict with install and setup.\n\n```\n Windows 10\n  * window app store\n    * ubuntu linux os for bash\n      * setup account for linux\n```\n\n```bash\n sudo apt-get update  //update packages\n sudo apt-get gcc     //install compiler\n```\n\n```cmd\ncargo run // default run app\n\ncargo clean //clean up build app\n\ncargo build // build app\n\nrustup default nightly\n\n//rustup default stable\n```\nworkspace\n```\n//run app\ncargo run -p actixhttpgun //not yet added gunrs\n\n//run lib test check for error\ncargo test -p gunrs\n```\n\n## vscode:\n * https://www.forrestthewoods.com/blog/how-to-debug-rust-with-visual-studio-code/\n * https://code.visualstudio.com/docs/editor/variables-reference\n\n## Notes:\n * This is work space area folder.\n * File size projects may vary if http, websocket and other packages to support web.\n * gunrs (gunjs) work in progress.\n * Testing which build app is compact or friendly.\n * Files and Websocket has not build for gunjs yet.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightnet%2Frusthttpgunjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flightnet%2Frusthttpgunjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightnet%2Frusthttpgunjs/lists"}