{"id":17911141,"url":"https://github.com/toddtreece/dlphn-rs","last_synced_at":"2026-01-20T05:34:54.993Z","repository":{"id":36948196,"uuid":"232231122","full_name":"toddtreece/dlphn-rs","owner":"toddtreece","description":"A simple data logger written in Rust, TypeScript, and React/Redux.","archived":false,"fork":false,"pushed_at":"2023-01-05T04:59:56.000Z","size":5756,"stargazers_count":0,"open_issues_count":33,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T06:46:04.707Z","etag":null,"topics":["actix-web","iot","react","rust","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/toddtreece.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-07T03:01:52.000Z","updated_at":"2021-05-31T13:21:04.000Z","dependencies_parsed_at":"2023-01-17T07:31:02.283Z","dependency_job_id":null,"html_url":"https://github.com/toddtreece/dlphn-rs","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddtreece%2Fdlphn-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddtreece%2Fdlphn-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddtreece%2Fdlphn-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddtreece%2Fdlphn-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toddtreece","download_url":"https://codeload.github.com/toddtreece/dlphn-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247808570,"owners_count":20999757,"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":["actix-web","iot","react","rust","typescript"],"created_at":"2024-10-28T19:36:58.297Z","updated_at":"2026-01-20T05:34:49.974Z","avatar_url":"https://github.com/toddtreece.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dlphn-rs\n\na humble sensor data logger that remembers the data you send it. cause [it's smart][dolphin] and stuff.\n\nthe api is written in rust using actix-web. the ui is written in typescript using react and redux.\n\n![ui](docs/new_column.gif)\n\n## install\n\ncheck the [releases] for a binary build that matches your platform.\n\nin order to build the latest release from source, you will need to use [rustup] to install the rust toolchain, and then run:\n\n```sh\n$ cargo install dlphn\n```\n\n## run\n\n```sh\n$ dlphn\n\n                     ▄▄▄▄▄\n                    ▐█████████████▄▄\n                        ▀███████████████████████████████▄▄\n                          ████████████████████████████████████▄\n                         ▐███████████████████████████████████████▄\n                        ▄███████████████████████████████████████████\n                      ▄██████████████████████████████████████████████\n                    ▄█████████████████████████████████████████████████\n                   ▄██████████████████████████████████████████████████\n                  ████████████████████████████████████████████████████\n                 ███████████████████▀▀  ▄██████████████████████████████▄\n                ▐██████████████▀       ██████████████▀      ▀▀████████████\n                █████████████       ▄██████▀ ███████              ▀▀███████\n               ▐███████████                ▄█████▀\n               ▐█████████▀                ▐██▀▀\n               █████████\n               ████████\n               ▐██████▌\n               ▐██████\n                █████▌\n               ▄████████▄\n             ▄██████████████▄\n           ▄██████████████████▄\n          █████████████████████▄\n         ▐████████▀▀▀\n          ▀\n                                         dlphn-rs\n\n[dlphn] listening on 127.0.0.1:8080\n[dlphn] API docs available at: http://127.0.0.1:8080/api/v1/docs\n```\n\n[dolphin]: https://www.nationalgeographic.com/news/2013/8/130806-dolphins-memories-animals-science-longest/\n[rustup]: https://rustup.rs/\n[releases]: https://github.com/toddtreece/dlphn-rs/releases\n\n## benchmarks\n\n### logging data\n\n~1500 inserts per second via the REST API. results from 2017 intel nuc 3.5GHz i7-7567U kaby lake:\n\n```sh\n$ make bench\nwrk -t10 -c100 -d 30s -s bench/post.lua http://localhost:8080/api/v1/streams/bench/data\nRunning 30s test @ http://localhost:8080/api/v1/streams/bench/data\n  10 threads and 100 connections\n  Thread Stats   Avg      Stdev     Max   +/- Stdev\n    Latency    84.69ms  147.65ms   2.00s    96.57%\n    Req/Sec   153.37     25.66   262.00     70.56%\n  45957 requests in 30.10s, 3.29MB read\n  Socket errors: connect 0, read 0, write 0, timeout 41\n  Non-2xx or 3xx responses: 1\nRequests/sec:   1526.97\nTransfer/sec:    111.84KB\n```\n\n## license\n\ncopyright (c) 2020 todd treece. licensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoddtreece%2Fdlphn-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoddtreece%2Fdlphn-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoddtreece%2Fdlphn-rs/lists"}