How anssi-fr/eurydice works
Eurydice is a file-transfer system for moving files across a physical data diode using Lidi. Users submit and manage files through the origin interface; the origin sender packages transfer data and metadata into packets, which the destination receiver processes and stores, where users can access incoming transfers. The graph also preserves the documented frontend, API, association, and status capabilities. Several frontend and API implementation details were not sampled, so their connections are shown only as unverified where useful.
Main entry points: views/MainView.vue Origin UI · views/MainView.vue Destination UI · transferable_ingestion_fs.py File ingestion · main.py Receiver loop
Components 27
User interfaces
- Origin UI
frontend/src/origin/views/MainView.vue - Upload controls
frontend/src/origin/components/UploadFile.vue - Origin transfer service
frontend/src/origin/services/transferables/main.ts - Destination UI
frontend/src/destination/views/MainView.vue - Destination service
frontend/src/destination/services/transferables.service.ts
HTTP APIs
- Common API
backend/eurydice/common/api/urls.py - Origin API
backend/eurydice/origin/api/views/outgoing_transferable.py - Destination API
backend/eurydice/destination/api/views/incoming_transferable.py - Association flow
backend/eurydice/common/api/views/token.py - Status and metadata
backend/eurydice/common/api/views/server_metadata.py
Origin transfer
- Outgoing transfers
backend/eurydice/origin/core/models/outgoing_transferable.py - Transfer ranges
backend/eurydice/origin/core/models/transferable_range.py - Revocations
backend/eurydice/origin/core/models/transferable_revocation.py - Sender loop
backend/eurydice/origin/sender/main.py - Packet generation
backend/eurydice/origin/sender/packet_generator/generator.py - Packet sending
backend/eurydice/origin/sender/packet_sender.py
Destination transfer
- Receiver loop
backend/eurydice/destination/receiver/main.py - Packet reception
backend/eurydice/destination/receiver/packet_receiver.py - Packet handling
backend/eurydice/destination/receiver/packet_handler/packet_handler.py - Packet extractors
backend/eurydice/destination/receiver/packet_handler/extractors - File ingestion
backend/eurydice/destination/receiver/transferable_ingestion_fs.py - Incoming transfers
backend/eurydice/destination/core/models/incoming_transferable.py - Upload parts
backend/eurydice/destination/core/models/file_upload_part.py - File storage
backend/eurydice/destination/storage/fs.py
Shared protocol
- Packet protocol
backend/eurydice/common/protocol.py
Other components
- User
- Physical diode / Lidi
Connections 29
- User → Origin UI: submits files
README.md - Origin UI → Upload controls: offers upload
- Upload controls → Origin transfer service: starts transfer
- Origin transfer service → Origin API: requests transfer
- Origin API → Outgoing transfers: manages transfers
- Outgoing transfers → Transfer ranges: tracks ranges
- Outgoing transfers → Revocations: tracks revocations
- Sender loop → Packet generation: generates packets
backend/eurydice/origin/sender/main.py - Sender loop → Packet sending: sends packets
backend/eurydice/origin/sender/main.py - Packet generation → Packet protocol: builds packets
- Packet sending → Packet protocol: serializes packets
backend/eurydice/origin/sender/packet_sender.py - Packet sending → Physical diode / Lidi: transfers packets
README.md - Physical diode / Lidi → Packet reception: delivers packets
README.md - Receiver loop → Packet reception: receives packets
backend/eurydice/destination/receiver/main.py - Receiver loop → Packet handling: handles packets
backend/eurydice/destination/receiver/main.py - Receiver loop → Packet protocol: processes packets
backend/eurydice/destination/receiver/main.py - Packet handling → Packet extractors: dispatches extraction
backend/eurydice/destination/receiver/packet_handler/packet_handler.py - Packet extractors → File ingestion: ingests file data
- File ingestion → Incoming transfers: updates records
backend/eurydice/destination/receiver/transferable_ingestion_fs.py - File ingestion → File storage: writes file data
backend/eurydice/destination/receiver/transferable_ingestion_fs.py - File ingestion → Upload parts: records parts
backend/eurydice/destination/receiver/transferable_ingestion_fs.py - Destination UI → Destination service: views transfers
- Destination service → Destination API: requests transfers
- Destination API → Incoming transfers: serves transfers
- User → Destination UI: views received files
README.md - Origin UI → Association flow: manages association
- Destination UI → Association flow: manages association
- Origin UI → Status and metadata: checks service status
- Destination UI → Status and metadata: checks service status