Make Tilde Friends peachpub-friendly #89

Open
opened 2024-12-15 13:21:14 -05:00 by cory · 0 comments
Owner

mostly from %25W3hdU2XVKWn%2FDB3QfvMBFaMn5nnOcE5vFQ3XAtFmnXg%3D.sha256:

  • Implement the public functions from https://git.coopcloud.tech/PeachCloud/peach-workspace/src/branch/main/peach-web/src/utils/sbot.rs
    • Belongs peachpub-side:
      • systemctl_sbot_cmd(cmd: &str) -> Result<Output, PeachWebError>
      • restart_sbot_process() -> (String, String)
      • init_sbot_with_config()
      • validate_public_key(public_key: &str) -> Result<(), String>
      • get_go_ssb_path() -> Result<String, PeachWebError>
    • Can be implemented using tildefriends publish ...
      • update_profile_info()
      • follow_peer(public_key: &str) -> Result<String, String>
      • unfollow_peer(public_key: &str) -> Result<String, String>
      • block_peer(public_key: &str) -> Result<String, String>
      • unblock_peer(public_key: &str) -> Result<String, String>
      • publish_public_post(text: String) -> Result<String, String>
    • Belongs Tilde Friends-side:
      • latest_sequence_number() -> Result<u64, Box>
      • create_invite(uses: u16) -> Result<String, Box>
      • get_profile_info(ssb_id: Option) -> Result<Profile, Box>
      • get_blocks_list() -> Result<Vec<HashMap<String, String>>, Box>
      • get_follows_list() -> Result<Vec<HashMap<String, String>>, Box>
      • get_friends_list() -> Result<Vec<HashMap<String, String>>, Box>
      • get_local_id() -> Result<String, Box>
      • publish_private_msg(text: String, recipients: Vec) -> Result<String, String>
      • blob_is_stored_locally(blob_path: &str) -> Result<bool, PeachWebError>
      • write_blob_to_store(image: BufferedFile) -> Result<String, PeachWebError> - tildefriends store_blob -f file
  • PatchWork+ManyVerse can accept Tilde Friends invites, and Tilde Friends follows in response
mostly from %25W3hdU2XVKWn%2FDB3QfvMBFaMn5nnOcE5vFQ3XAtFmnXg%3D.sha256: - [x] Implement the public functions from https://git.coopcloud.tech/PeachCloud/peach-workspace/src/branch/main/peach-web/src/utils/sbot.rs - Belongs peachpub-side: - systemctl_sbot_cmd(cmd: &str) -> Result<Output, PeachWebError> - restart_sbot_process() -> (String, String) - init_sbot_with_config() - validate_public_key(public_key: &str) -> Result<(), String> - get_go_ssb_path() -> Result<String, PeachWebError> - Can be implemented using `tildefriends publish ...` - update_profile_info() - follow_peer(public_key: &str) -> Result<String, String> - unfollow_peer(public_key: &str) -> Result<String, String> - block_peer(public_key: &str) -> Result<String, String> - unblock_peer(public_key: &str) -> Result<String, String> - publish_public_post(text: String) -> Result<String, String> - [x] Belongs Tilde Friends-side: - [x] latest_sequence_number() -> Result<u64, Box<dyn Error>> - [x] create_invite(uses: u16) -> Result<String, Box<dyn Error>> - [x] get_profile_info(ssb_id: Option<String>) -> Result<Profile, Box<dyn Error>> - [x] get_blocks_list() -> Result<Vec<HashMap<String, String>>, Box<dyn Error>> - [x] get_follows_list() -> Result<Vec<HashMap<String, String>>, Box<dyn Error>> - [x] get_friends_list() -> Result<Vec<HashMap<String, String>>, Box<dyn Error>> - [x] get_local_id() -> Result<String, Box<dyn Error>> - [x] publish_private_msg(text: String, recipients: Vec<String>) -> Result<String, String> - [x] blob_is_stored_locally(blob_path: &str) -> Result<bool, PeachWebError> - [x] write_blob_to_store(image: BufferedFile) -> Result<String, PeachWebError> - `tildefriends store_blob -f file` - [x] PatchWork+ManyVerse can accept Tilde Friends invites, and Tilde Friends follows in response
cory added this to the Make it a platform worth building on milestone 2024-12-15 13:21:14 -05:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cory/tildefriends#89
No description provided.