# Polymodel

Polymodel is an AT Protocol-native model/project sharing app: roughly “Thingiverse on atproto.”

The initial concept is intentionally small:

- a lexicon for printable/model projects;
- a profile-oriented publishing surface;
- likes/saves and basic social feedback;
- feeds for recent projects, hot projects, and per-profile project streams;
- an in-browser STL viewer.

It is also a testbed for a highly integrated agent workflow built around Polytoken, Jira, Confluence, jj workspaces, and strong review gates.


## Development

Use Nix/direnv when available:

```sh
nix develop
```

Common commands:

```sh
just fix       # format and apply safe clippy fixes
just check     # native, server, and wasm checks
just test      # unit tests via nextest
just test-all  # pre-review local validation
just serve     # Dioxus dev server
```

`just serve` starts against the current projection database without seeding demo
content. For browser e2e or a local demo feed, opt in explicitly:
`POLYMODEL_SAMPLE_DATA=auto just serve`.

## Stack

- Rust 2024 / nightly
- Dioxus 0.7
- Jacquard 0.12
- Nix flake dev shell
- just command runner
