{"id":23364502,"url":"https://github.com/fission-codes/fission-server","last_synced_at":"2025-04-10T12:52:27.961Z","repository":{"id":99789240,"uuid":"593673803","full_name":"fission-codes/fission-server","owner":"fission-codes","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-10T14:06:33.000Z","size":1157,"stargazers_count":10,"open_issues_count":39,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-03T04:56:18.401Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fission-codes.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":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"open_collective":"fission"}},"created_at":"2023-01-26T15:31:53.000Z","updated_at":"2025-01-17T12:56:21.000Z","dependencies_parsed_at":"2023-12-10T00:19:03.345Z","dependency_job_id":"d713af2a-2b25-4332-8a64-1f7df5a19462","html_url":"https://github.com/fission-codes/fission-server","commit_stats":{"total_commits":202,"total_committers":10,"mean_commits":20.2,"dds":0.7079207920792079,"last_synced_commit":"53ffd0c1012e605341ed559c64c47b52d5ddfb69"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fission-codes%2Ffission-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fission-codes%2Ffission-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fission-codes%2Ffission-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fission-codes%2Ffission-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fission-codes","download_url":"https://codeload.github.com/fission-codes/fission-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248138076,"owners_count":21053809,"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":[],"created_at":"2024-12-21T13:16:30.640Z","updated_at":"2025-04-10T12:52:27.941Z","avatar_url":"https://github.com/fission-codes.png","language":"Rust","funding_links":["https://opencollective.com/fission"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cp\u003e\n    \u003ca href=\"https://codecov.io/gh/fission-codes/fission-server\"\u003e\n      \u003cimg src=\"https://codecov.io/gh/fission-codes/fission-server/branch/main/graph/badge.svg?token=SOMETOKEN\" alt=\"Code Coverage\"/\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/fission-codes/fission-server/actions?query=\"\u003e\n      \u003cimg src=\"https://github.com/fission-codes/fission-server/actions/workflows/tests_and_checks.yml/badge.svg\" alt=\"Build Status\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/fission-codes/fission-server/blob/main/LICENSE\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/License-Apache%202.0-blue.svg\" alt=\"License\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://fission.codes/discord\"\u003e\n      \u003cimg src=\"https://img.shields.io/static/v1?label=Discord\u0026message=join%20us!\u0026color=mediumslateblue\" alt=\"Discord\"\u003e\n    \u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\u003csub\u003e⚠️ Work in progress ⚠️\u003c/sub\u003e\u003c/div\u003e\n\n# Fission Server (\u0026 CLI)\n\nThis repository contains an implementation of the fission webserver, an implementation of a CLI that allows interacting with the webserver.\n\n## Overview\n\n- [Server design documentation](./design/README.md)\n- [Server API documentation](./design/api.md)\n- [`fission-server`](./fission-server/README.md): Contains the webserver implementation and two binaries, one for running the webserver, one for generating an openAPI document.\n- [`fission-cli`](./fission-cli/README.md): Contains the CLI implementation, its binary is the CLI.\n- [`fission-core`](./fission-core/README.md): Contains code that can be shared between CLI and server, such as request/response types.\n\nThe dependencies between the crates in this workspace look like this:\n\n```mermaid\nflowchart TD\n  fission-server --\u003e fission-core\n  fission-cli --\u003e fission-core\n```\n\n## Running the Webserver\n\n### Using nix\n\n```sh\nnix run . -- --config-path ./fission-server/config/settings.toml\n```\n\n### Using pre-installed cargo \u0026 postgres\n\n```sh\n$ pg_ctl -o '-k /tmp' -D \"./.pg\" start\n$ cargo run -p fission-server -- --config-path ./fission-server/config/settings.toml\n```\n\n## Development\n\nYou can drop into a development shell, if you have nix installed via\n\n```sh\n$ nix develop\n```\n\nfrom the project root.\n\n\nYou can re-build and re-run the webserver on every file change via `cargo watch`:\n\n```sh\n$ cargo watch -c -s \"cargo run -p fission-server -- -c ./fission-server/config/settings.toml\"\n```\n\n## Production\n\nIn production, you may want to enable the `--no-colors` flag on the executable.\n\nAll CLI flags are also available as environment-variables, so `FISSION_SERVER__NO_COLORS=true` and `FISSION_SERVER__CONFIG_PATH=\"./prod-settings.toml\"` or even values from the `settings.toml` file itself. Double underscores are used as a separator between settings keys, because these can contain underscores themselves.\n\nYou'll also want to set `server.environment = \"prod\"` in `settings.toml`, and with that you'll need to provide a valid `mailgun.api_key` (can also be set as the environment variable `FISSION_SERVER__MAILGUN__API_KEY=...`).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffission-codes%2Ffission-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffission-codes%2Ffission-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffission-codes%2Ffission-server/lists"}