Skip to content
/ PS-Sync Public

PSync is a browser extension for Play PokemonShowdown to sync teams

Notifications You must be signed in to change notification settings

ezel/PS-Sync

Repository files navigation

PS-Sync

sync PokemonShowdown's team with your webdav

---
title: Sync (manual click)
---
flowchart LR
    local1[Teams on PS]
    remote1[WebDav: /team.txt]
    local1 -- Backup Button --> remote1
    remote1 -- Restore Button --> local1
Loading
---
title: Archive (manual click)
---
flowchart LR
    local1[One Team on PS]
    remote1[WebDav: /arch.txt]
    local1 -- Archive Button --> remote1
    remote1 -- Unarchive Button --> local1
Loading

Code Structure

1. Sync part

%%{init: { "sequence": { "mirrorActors":false }}}%%
sequenceDiagram
    Extension->>PS: {command: load team} 
    PS-->>Extension: data: teams info!
    destroy PS
    create participant WebDav
    Extension->>WebDav: Save the data
Loading

2. Arch part

Similar to the sync part

Built With

npm run build:web
 output: {
    environment: { module: false },
    library: { type: "window", name: 'WebDAV' }
}

About

PSync is a browser extension for Play PokemonShowdown to sync teams

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages