{"id":41733884,"url":"https://github.com/bartossh/scribe","last_synced_at":"2026-01-24T23:46:02.185Z","repository":{"id":238434080,"uuid":"796542230","full_name":"bartossh/scribe","owner":"bartossh","description":"Yet another logs server, that keeps logs in binary-packed format.","archived":false,"fork":false,"pushed_at":"2024-05-22T13:11:00.000Z","size":96,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-22T15:19:07.750Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/bartossh.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":"2024-05-06T06:41:10.000Z","updated_at":"2024-06-05T12:57:43.639Z","dependencies_parsed_at":"2024-05-06T07:43:47.441Z","dependency_job_id":"8fa868e9-6c1b-4f04-a84c-356e9e893344","html_url":"https://github.com/bartossh/scribe","commit_stats":null,"previous_names":["bartossh/scribe"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bartossh/scribe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartossh%2Fscribe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartossh%2Fscribe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartossh%2Fscribe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartossh%2Fscribe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bartossh","download_url":"https://codeload.github.com/bartossh/scribe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartossh%2Fscribe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28739126,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T22:12:27.248Z","status":"ssl_error","status_checked_at":"2026-01-24T22:12:10.529Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-01-24T23:46:01.511Z","updated_at":"2026-01-24T23:46:02.177Z","avatar_url":"https://github.com/bartossh.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scribe\n\n[![Rust](https://github.com/bartossh/scribe/actions/workflows/rust.yml/badge.svg)](https://github.com/bartossh/scribe/actions/workflows/rust.yml)\n\nYet another logs server, that keeps logs in binary-packed format.\n\n## Why\n\n1. To store logs packed in binary format for fast writes.\n2. To save disc space.\n3. To save on indexing large dictionaries.\n\n## Service options\n\nScribe at this point can be run in three different repository versions:\n\n1. Permanent MongoDB. Pass mongodb connection string in `url_db` in `default.yaml` file.\n2. Permanent SQLite. Pass sqlite connection string (path to file) in `url_db` in `default.yaml` file.\n3. Ephemeral SQLite stored in RAM. Leave `url_db` in `default.yaml` file empty.\n\n## Development\n\nDeveloped with `rustc 1.77.2` and `cargo 1.77.2`.\n\n### Unit Tests \n\n```sh\ncargo test --profile test -- --nocapture --test-threads=1\n```\n\n### Integration tests\n\nRemember to run the server with default settings:\n\n```sh\ncargo run --release\n```\n\n```sh\ncargo test --profile test --test integration_tests -v -- --nocapture --ignored --test-threads=1\n```\n\n### Run dependencies\n\nProject uses MongoDB as a data repository.\n\nThe `your_user_name` default is `scribe`.\nThe `your_password` default is `scribe`.\n\n1. To run dockerized database for development:\n\n```sh\nMONGO_DB_USER=your_user_name MONGO_DB_PASSWORD=your_password docker compose -f dependencies/docker-compose.development.yaml up -d\n```\n\nYou can vew database in the browser app at `http://localhost:8081/`.\n\n\n1. To run dockerized database for staging or/and prod:\n\n```sh\nMONGO_DB_USER=your_user_name MONGO_DB_PASSWORD=your_password docker compose -f dependencies/docker-compose.yaml up -d\n```\n\nDatabase is then not exposed to the outside word via browser app at `localhost`.\n\n### Run server\n\n1. Default on addr: `0.0.0.0:8000`\n\n```sh\ncargo run --release \n```\n\n2. With `setup.yaml` file path as the argument. The file contains the setup parameters. Look in to `default.yaml` for a reference.\n\n```sh\ncargo run --release setup.yaml\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbartossh%2Fscribe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbartossh%2Fscribe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbartossh%2Fscribe/lists"}