How djcass44/jmp works
JMP is a browser-navigation API for managing named jump points and resolving a typed query to a saved address. The main workflow is a browser request to the jump API, which searches the user-visible jump set and returns a destination or similar matches; successful jumps are recorded. Separate capabilities cover jump and group administration, metadata and icons, user/group visibility, and WebSocket updates. The README establishes the browser workflow; sampled controller and repository excerpts show some calls. Unsampled subsystem links are omitted or marked unverified.
Main entry points: JumpControl.kt Jump API · JumpRepoCustomImpl.kt Visible jump lookup · GroupsTask.kt Group refresh task · OwnerService.kt Jump ownership
Components 25
API workflows
- Jump API
src/main/kotlin/dev/castive/jmp/rest/JumpControl.kt - Group API
src/main/kotlin/dev/castive/jmp/rest/GroupControl.kt - User API
src/main/kotlin/dev/castive/jmp/rest/UserControl.kt - Similar API
src/main/kotlin/dev/castive/jmp/rest/SimilarControl.kt - Provider API
src/main/kotlin/dev/castive/jmp/rest/ProviderControl.kt
Jump domain
- Jump search
src/main/kotlin/dev/castive/jmp/service/SearchService.kt - Similarity matching
src/main/kotlin/dev/castive/jmp/service/SimilarityService.kt - Visible jump lookup
src/main/kotlin/dev/castive/jmp/repo/JumpRepoCustomImpl.kt - Jump records
src/main/kotlin/dev/castive/jmp/repo/JumpRepo.kt - Jump aliases
src/main/kotlin/dev/castive/jmp/repo/AliasRepo.kt - Jump model
src/main/kotlin/dev/castive/jmp/entity/Jump.kt - Alias model
src/main/kotlin/dev/castive/jmp/entity/Alias.kt - Jump response
src/main/kotlin/dev/castive/jmp/data/dto/JumpDTO.kt - Jump events
src/main/kotlin/dev/castive/jmp/repo/JumpEventRepo.kt - Event API
src/main/kotlin/dev/castive/jmp/rest/JumpEventControl.kt
Groups and users
- Group queries
src/main/kotlin/dev/castive/jmp/repo/GroupRepoCustomImpl.kt - User queries
src/main/kotlin/dev/castive/jmp/repo/UserRepoCustomImpl.kt - Group refresh task
src/main/kotlin/dev/castive/jmp/tasks/GroupsTask.kt - Jump ownership
src/main/kotlin/dev/castive/jmp/service/OwnerService.kt
Metadata and updates
- Metadata API
src/main/kotlin/dev/castive/jmp/rest/MetadataControl.kt - Metadata service
src/main/kotlin/dev/castive/jmp/service/MetadataService.kt - Metadata settings
src/main/kotlin/dev/castive/jmp/prop/AppMetadataProps.kt - WebSocket updates
src/main/kotlin/dev/castive/jmp/component/SocketHandler.kt - Socket message format
src/main/kotlin/dev/castive/jmp/data/FSA.kt
Other components
- Browser user
Connections 22
- Browser user → Jump API: queries
- Jump API → Jump search: searches
src/main/kotlin/dev/castive/jmp/rest/JumpControl.kt - Jump search → Visible jump lookup: retrieves matches
- Visible jump lookup → Jump records: queries jumps
src/main/kotlin/dev/castive/jmp/repo/JumpRepoCustomImpl.kt - Visible jump lookup → Jump aliases: reads aliases
src/main/kotlin/dev/castive/jmp/repo/JumpRepoCustomImpl.kt - Visible jump lookup → Similarity matching: matches terms
src/main/kotlin/dev/castive/jmp/repo/JumpRepoCustomImpl.kt - Jump API → Jump events: records successful jumps
src/main/kotlin/dev/castive/jmp/rest/JumpControl.kt - Jump API → Metadata service: updates title and icon
src/main/kotlin/dev/castive/jmp/rest/JumpControl.kt - Jump API → Jump ownership: formats jump
src/main/kotlin/dev/castive/jmp/rest/JumpControl.kt - Jump ownership → Jump aliases: loads aliases
src/main/kotlin/dev/castive/jmp/service/OwnerService.kt - Jump ownership → Metadata settings: reads icon settings
src/main/kotlin/dev/castive/jmp/service/OwnerService.kt - Jump API → WebSocket updates: broadcasts changes
src/main/kotlin/dev/castive/jmp/rest/JumpControl.kt - Group API → Group refresh task: refreshes membership
src/main/kotlin/dev/castive/jmp/rest/GroupControl.kt - Group API → WebSocket updates: broadcasts changes
src/main/kotlin/dev/castive/jmp/rest/GroupControl.kt - Group refresh task → Group queries: loads and saves groups
src/main/kotlin/dev/castive/jmp/tasks/GroupsTask.kt - Group refresh task → User queries: loads users
src/main/kotlin/dev/castive/jmp/tasks/GroupsTask.kt - WebSocket updates → Socket message format: sends messages
src/main/kotlin/dev/castive/jmp/component/SocketHandler.kt - Metadata API → Metadata service: delegates metadata
- Similar API → Similarity matching: requests matches
- Event API → Jump events: reads events
- User API → User queries: uses user data
- Provider API → User queries: uses providers