├── .gitignore ├── CHANGELOG.md ├── Cargo.toml ├── Dockerfile ├── LICENSE ├── README.md ├── cliff.toml ├── config.example.yml ├── create-release.sh ├── dev-server.sh ├── docs ├── playbook-dry-run.md ├── playbook-enable-compression.md ├── playbook-match-likes.md ├── playbook-release.md ├── playbook-rhai.md └── publish-feed.md ├── etc ├── atmosphere_dev.rhai ├── docker-compose.yml ├── publish.py ├── release.sh ├── rhai_ngerakines_activity.rhai └── supercell.service ├── examples ├── engagement │ ├── README.md │ └── config.yml ├── my_stuff │ ├── README.md │ └── config.yml ├── popular │ ├── README.md │ ├── config.yml │ └── popular.rhai ├── private_my_stuff │ ├── README.md │ └── config.yml └── tags │ ├── README.md │ └── config.yml ├── migrations ├── 20241103180245_init.down.sql ├── 20241103180245_init.up.sql ├── 20241107144649_remove_cid.down.sql ├── 20241107144649_remove_cid.up.sql ├── 20241111011116_feed_content_score.down.sql ├── 20241111011116_feed_content_score.up.sql ├── 20241115180828_denylist.down.sql └── 20241115180828_denylist.up.sql ├── src ├── bin │ ├── dropsonde.rs │ └── supercell.rs ├── cache.rs ├── cleanup.rs ├── config.rs ├── consumer.rs ├── crypto.rs ├── errors.rs ├── http │ ├── context.rs │ ├── handle_admin.rs │ ├── handle_describe_feed_generator.rs │ ├── handle_get_feed_skeleton.rs │ ├── handle_index.rs │ ├── handle_well_known.rs │ ├── mod.rs │ └── server.rs ├── lib.rs ├── matcher.rs ├── storage.rs └── vmc.rs └── testdata ├── atmosphere_dev1.json ├── atmosphere_dev2.json ├── atmosphere_dev3.json ├── atmosphere_dev4.json ├── atmosphere_dev5.json ├── post1.json ├── post2.json ├── rhai_match_everything.rhai ├── rhai_match_everything_simple.rhai ├── rhai_match_links.rhai ├── rhai_match_nothing.rhai ├── rhai_match_poster.rhai ├── rhai_match_reply_root.rhai ├── rhai_match_sequence.rhai └── rhai_match_type.rhai /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/Cargo.toml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/README.md -------------------------------------------------------------------------------- /cliff.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/cliff.toml -------------------------------------------------------------------------------- /config.example.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/config.example.yml -------------------------------------------------------------------------------- /create-release.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/create-release.sh -------------------------------------------------------------------------------- /dev-server.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/dev-server.sh -------------------------------------------------------------------------------- /docs/playbook-dry-run.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/docs/playbook-dry-run.md -------------------------------------------------------------------------------- /docs/playbook-enable-compression.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/docs/playbook-enable-compression.md -------------------------------------------------------------------------------- /docs/playbook-match-likes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/docs/playbook-match-likes.md -------------------------------------------------------------------------------- /docs/playbook-release.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/docs/playbook-release.md -------------------------------------------------------------------------------- /docs/playbook-rhai.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/docs/playbook-rhai.md -------------------------------------------------------------------------------- /docs/publish-feed.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/docs/publish-feed.md -------------------------------------------------------------------------------- /etc/atmosphere_dev.rhai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/etc/atmosphere_dev.rhai -------------------------------------------------------------------------------- /etc/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/etc/docker-compose.yml -------------------------------------------------------------------------------- /etc/publish.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/etc/publish.py -------------------------------------------------------------------------------- /etc/release.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/etc/release.sh -------------------------------------------------------------------------------- /etc/rhai_ngerakines_activity.rhai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/etc/rhai_ngerakines_activity.rhai -------------------------------------------------------------------------------- /etc/supercell.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/etc/supercell.service -------------------------------------------------------------------------------- /examples/engagement/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/examples/engagement/README.md -------------------------------------------------------------------------------- /examples/engagement/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/examples/engagement/config.yml -------------------------------------------------------------------------------- /examples/my_stuff/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/examples/my_stuff/README.md -------------------------------------------------------------------------------- /examples/my_stuff/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/examples/my_stuff/config.yml -------------------------------------------------------------------------------- /examples/popular/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/examples/popular/README.md -------------------------------------------------------------------------------- /examples/popular/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/examples/popular/config.yml -------------------------------------------------------------------------------- /examples/popular/popular.rhai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/examples/popular/popular.rhai -------------------------------------------------------------------------------- /examples/private_my_stuff/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/examples/private_my_stuff/README.md -------------------------------------------------------------------------------- /examples/private_my_stuff/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/examples/private_my_stuff/config.yml -------------------------------------------------------------------------------- /examples/tags/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/examples/tags/README.md -------------------------------------------------------------------------------- /examples/tags/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/examples/tags/config.yml -------------------------------------------------------------------------------- /migrations/20241103180245_init.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/migrations/20241103180245_init.down.sql -------------------------------------------------------------------------------- /migrations/20241103180245_init.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/migrations/20241103180245_init.up.sql -------------------------------------------------------------------------------- /migrations/20241107144649_remove_cid.down.sql: -------------------------------------------------------------------------------- 1 | -- Add down migration script here 2 | -------------------------------------------------------------------------------- /migrations/20241107144649_remove_cid.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/migrations/20241107144649_remove_cid.up.sql -------------------------------------------------------------------------------- /migrations/20241111011116_feed_content_score.down.sql: -------------------------------------------------------------------------------- 1 | -- Add down migration script here 2 | 3 | ALTER TABLE feed_content DROP COLUMN score; 4 | -------------------------------------------------------------------------------- /migrations/20241111011116_feed_content_score.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/migrations/20241111011116_feed_content_score.up.sql -------------------------------------------------------------------------------- /migrations/20241115180828_denylist.down.sql: -------------------------------------------------------------------------------- 1 | -- Add down migration script here 2 | -------------------------------------------------------------------------------- /migrations/20241115180828_denylist.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/migrations/20241115180828_denylist.up.sql -------------------------------------------------------------------------------- /src/bin/dropsonde.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/src/bin/dropsonde.rs -------------------------------------------------------------------------------- /src/bin/supercell.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/src/bin/supercell.rs -------------------------------------------------------------------------------- /src/cache.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/src/cache.rs -------------------------------------------------------------------------------- /src/cleanup.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/src/cleanup.rs -------------------------------------------------------------------------------- /src/config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/src/config.rs -------------------------------------------------------------------------------- /src/consumer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/src/consumer.rs -------------------------------------------------------------------------------- /src/crypto.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/src/crypto.rs -------------------------------------------------------------------------------- /src/errors.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/src/errors.rs -------------------------------------------------------------------------------- /src/http/context.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/src/http/context.rs -------------------------------------------------------------------------------- /src/http/handle_admin.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/src/http/handle_admin.rs -------------------------------------------------------------------------------- /src/http/handle_describe_feed_generator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/src/http/handle_describe_feed_generator.rs -------------------------------------------------------------------------------- /src/http/handle_get_feed_skeleton.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/src/http/handle_get_feed_skeleton.rs -------------------------------------------------------------------------------- /src/http/handle_index.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/src/http/handle_index.rs -------------------------------------------------------------------------------- /src/http/handle_well_known.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/src/http/handle_well_known.rs -------------------------------------------------------------------------------- /src/http/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/src/http/mod.rs -------------------------------------------------------------------------------- /src/http/server.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/src/http/server.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/matcher.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/src/matcher.rs -------------------------------------------------------------------------------- /src/storage.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/src/storage.rs -------------------------------------------------------------------------------- /src/vmc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/src/vmc.rs -------------------------------------------------------------------------------- /testdata/atmosphere_dev1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/testdata/atmosphere_dev1.json -------------------------------------------------------------------------------- /testdata/atmosphere_dev2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/testdata/atmosphere_dev2.json -------------------------------------------------------------------------------- /testdata/atmosphere_dev3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/testdata/atmosphere_dev3.json -------------------------------------------------------------------------------- /testdata/atmosphere_dev4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/testdata/atmosphere_dev4.json -------------------------------------------------------------------------------- /testdata/atmosphere_dev5.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/testdata/atmosphere_dev5.json -------------------------------------------------------------------------------- /testdata/post1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/testdata/post1.json -------------------------------------------------------------------------------- /testdata/post2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/testdata/post2.json -------------------------------------------------------------------------------- /testdata/rhai_match_everything.rhai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/testdata/rhai_match_everything.rhai -------------------------------------------------------------------------------- /testdata/rhai_match_everything_simple.rhai: -------------------------------------------------------------------------------- 1 | build_aturi(event) 2 | -------------------------------------------------------------------------------- /testdata/rhai_match_links.rhai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/testdata/rhai_match_links.rhai -------------------------------------------------------------------------------- /testdata/rhai_match_nothing.rhai: -------------------------------------------------------------------------------- 1 | false 2 | -------------------------------------------------------------------------------- /testdata/rhai_match_poster.rhai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/testdata/rhai_match_poster.rhai -------------------------------------------------------------------------------- /testdata/rhai_match_reply_root.rhai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/testdata/rhai_match_reply_root.rhai -------------------------------------------------------------------------------- /testdata/rhai_match_sequence.rhai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/testdata/rhai_match_sequence.rhai -------------------------------------------------------------------------------- /testdata/rhai_match_type.rhai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astrenoxcoop/supercell/HEAD/testdata/rhai_match_type.rhai --------------------------------------------------------------------------------