2024-05-17 03:30:49 +08:00
# Danbooru Viewer
2024-10-13 12:28:17 +08:00
A modern style viewer for [Danbooru ](https://danbooru.donmai.us ) or other Booru API base site.
2024-05-17 03:30:49 +08:00
2024-10-25 17:11:28 +08:00
## How To Use
2024-10-13 12:28:17 +08:00
- Enter this URL: [https://danbooru.defaultkavy.com ](https://danbooru.defaultkavy.com ).
2024-10-25 17:11:28 +08:00
- Or, replace `danbooru.donmai.us` to `danbooru.defaultkavy.com` without changing pathname and url query, will directly open the same page on Danbooru Viewer.
- Or, clone this repository and run commands for self-hosting:
2024-10-13 12:28:17 +08:00
```sh
2024-10-25 17:11:28 +08:00
bun i --production
2024-10-13 12:28:17 +08:00
bun run start
```
## Features
- Same path as the original website.
- Support URL query like `/posts?tags=ord:fav+minato_aqua` .
- Search tags with autocomplete.
- Infinite scroll posts with waterfall image layout.
2024-10-25 17:11:28 +08:00
- Mobile friendly.
## Hotkeys
- Global Shortcut
- `Q` : Back.
- `E` : Forward.
- `/` : Open search bar.
- Posts Browser Page
- `W/A/S/D` : Navigation posts in direction.
- `Tab` : Toogle post detail panel.
- `Space/Enter` : Open selected post page.
- Post Page
- `A/D` : Switch to previous/next post page.
- `Spacebar` : Play/Pause video.
2024-10-13 12:28:17 +08:00
## Roadmap to V1.0
- [x] Posts Page
- [x] Posts Search with any tags
- [x] Booru Account Login (Using API keys)
- [x] Favorite Post with Account
2024-10-25 17:11:28 +08:00
- [x] Post Detail Panel in Posts Browser
2024-10-13 12:28:17 +08:00
- [ ] Saved Searches
- [ ] User Page
- [ ] Post Commentary
- [ ] More...
## Tools
- [Elexis ](https://git.defaultkavy.com/defaultkavy/elexis ): Web Builder.
- [Elysia ](https://elysiajs.com/ ): Server Framework.
- [ionicons ](https://ionic.io/ionicons ): Open Souces Icons.