An open API service indexing awesome lists of open source software.

https://github.com/write/redditthemesync

Automatically sync Reddit theme with system preference with flash prevention. For New Reddit UI.
https://github.com/write/redditthemesync

Last synced: 6 months ago
JSON representation

Automatically sync Reddit theme with system preference with flash prevention. For New Reddit UI.

Awesome Lists containing this project

README

          

# RedditThemeSync

- 0 UI Interaction, no more issue with avatar's menu staying open, not loading, etc.
- Automatically fetch CSRF and sends garphQL API request on your behalf.
- Change theme cookie on your side.
- Avoid Theme flash issue as much as possible by changing asap 's classList.
- Instantaneous theme-switching by toggling 's classList theme-dark / theme-light before any API call is even made.
- Event on Tab Switching, just in case one of your reddit tab was 'asleep', while your system changed of colorScheme.
- Reddit's icon encoded in base64 for a little more privacy 💖✨