Skip to content

ducnmm/dugong

Repository files navigation

dugong

Dugong monorepo. Rust services live in a single Cargo workspace rooted at Cargo.toml; the frontend is its own pnpm app.

Structure

  • apps/core — shared Rust library (dugong-core): clients, config, db, constants, twitter session helpers, migrations. Every Rust binary depends on this crate.
  • apps/apidugong-api HTTP service: webhooks, routes, processor worker.
  • apps/indexerdugong-indexer background service: mirrors Sui events into Postgres.
  • apps/tools — one-off CLIs (dugong-login, dugong-test-tweet).
  • apps/workerdugong-worker poller: scans X for mentions and posts to the API webhook.
  • apps/nautilus-server — Nautilus enclave-facing service.
  • apps/web — frontend (Vite + React).
  • contracts/move — Move contracts.

Quick commands

# build everything
cargo build --workspace

# run a specific service
cargo run -p dugong-api
cargo run -p dugong-indexer
cargo run -p dugong-worker
cargo run -p nautilus-server

# run a tool
cargo run -p dugong-tools --bin dugong-login
cargo run -p dugong-tools --bin dugong-test-tweet

See docs/local-dev-guide.md for the full local development guide.

About

Crypto in one tweet — turn your X account into a Sui wallet. Send coins, run prediction markets & pay rewards just by tweeting. Nautilus enclave (TEE) + Enoki sponsored tx on Sui testnet.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors