{"id":51049820,"url":"https://github.com/maris-development/beacon-wms","last_synced_at":"2026-06-22T16:30:30.015Z","repository":{"id":352811663,"uuid":"1060232570","full_name":"maris-development/beacon-wms","owner":"maris-development","description":"Beacon WMS: Visualise your datalake","archived":false,"fork":false,"pushed_at":"2026-05-08T09:54:51.000Z","size":269,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-08T10:12:31.162Z","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":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maris-development.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-19T15:23:21.000Z","updated_at":"2026-05-08T09:54:55.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/maris-development/beacon-wms","commit_stats":null,"previous_names":["maris-development/beacon-wms"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maris-development/beacon-wms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maris-development%2Fbeacon-wms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maris-development%2Fbeacon-wms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maris-development%2Fbeacon-wms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maris-development%2Fbeacon-wms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maris-development","download_url":"https://codeload.github.com/maris-development/beacon-wms/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maris-development%2Fbeacon-wms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34657890,"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-22T02:00:06.391Z","response_time":106,"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":"2026-06-22T16:30:27.400Z","updated_at":"2026-06-22T16:30:30.006Z","avatar_url":"https://github.com/maris-development.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Beacon WMS\n\nBeacon WMS is a web map service built with a dual-backend architecture for optimal performance and scalability.\n\n## Overview\n\n### Architecture\n\nThe application consists of two complementary backends:\n\n- **Node.js Backend**: Handles client communication, templating, and OGC (Open Geospatial Consortium) compliance\n- **Rust Backend**: Handles high-performance map drawing and querying operations\n\n---\n\n## Getting Started\n\n### Prerequisites\n\nBefore running Beacon WMS, ensure you have the following installed:\n\n- [Node.js](https://nodejs.org/)\n- [Rust](https://www.rust-lang.org/tools/install)\n\n---\n\n## Running Beacon WMS\n\n### Production (with Docker)\n\nTo build and run both backends using Docker:\n\n```bash\ndocker compose up --build\n```\n\n### Development (Local)\n\nRun both backends in separate terminal windows:\n\n**Terminal 1 - Rust Backend:**\n```bash\ncd rust-backend\ncargo run --release  # Use --release for better performance\n```\n\n**Terminal 2 - Node.js Backend:**\n```bash\ncd node-backend\nnpm install\nnpm run dev\n```\n\n## Rust Backend Environment Variables\n\n| Variable | Default | Used for |\n| --- | --- | --- |\n| `HTTP_ADDRESS` | `0.0.0.0` | Rust backend bind address. |\n| `HTTP_PORT` | `8000` | Rust backend HTTP port. |\n| `WORKERS` | `12` | Number of Tokio worker threads. |\n| `LOG_DIR` | `../logs` | Directory for backend logs. |\n| `LOG_LEVEL` | `INFO` | Log verbosity (`TRACE`, `DEBUG`, `INFO`, `WARN`, `ERROR`). |\n| `CONFIG_DIR` | `../config` | Base directory for config files like `config.json` and `colormaps.json`. |\n| `CONFIG_FILE` | `config.json` | Main backend config file name (resolved under `CONFIG_DIR`). |\n| `LAYER_DIR` | `../layers` | Directory where generated layer parquet files are stored. |\n| `BEACON_TOKEN` | _(none)_ | Auth token used for Beacon API queries. |\n| `TILE_CACHE_ENABLED` | `false` | Enables tile image cache when set to `1`, `true`, `yes`, or `on`. |\n| `TILE_CACHE_DIR` | `../tile_cache` | Root directory for tile cache files. |\n\n## Node Backend Environment Variables\n\n| Variable | Default | Used for |\n| --- | --- | --- |\n| `HTTP_ADDRESS` | `0.0.0.0` | Node backend bind address. |\n| `HTTP_PORT` | `3000` | Node backend HTTP port. |\n| `RUST_BACKEND_URL` | `http://localhost:8000` | Base URL for forwarding WMS requests to Rust backend. |\n| `CONFIG_DIR` | `../config` | Base directory for Node config files. |\n| `CONFIG_FILE` | `config.json` | Node config file name (resolved under `CONFIG_DIR`). |\n| `LOG_DIR` | `../logs` | Directory for Node logs. |\n| `PATH_PREFIX` | _(empty)_ | URL prefix prepended to Node routes. |\n| `HTTP_HOST` | Request host header | Host used in generated capabilities URLs. |\n| `HTTP_PROTOCOL` | Request protocol | Protocol used in generated capabilities URLs. |\n| `ADMIN_SECRET` | _(empty)_ | Bearer token required for admin endpoints (must be set to enable). |\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaris-development%2Fbeacon-wms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaris-development%2Fbeacon-wms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaris-development%2Fbeacon-wms/lists"}