Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zoomten/toybooru
Toy booru-like web app. DON'T USE IN PRODUCTION!
https://github.com/zoomten/toybooru
booru jester karax-vdom nim
Last synced: about 6 hours ago
JSON representation
Toy booru-like web app. DON'T USE IN PRODUCTION!
- Host: GitHub
- URL: https://github.com/zoomten/toybooru
- Owner: ZoomTen
- License: mit
- Created: 2023-08-30T16:29:02.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-27T07:25:16.000Z (7 months ago)
- Last Synced: 2024-04-27T08:26:16.122Z (7 months ago)
- Topics: booru, jester, karax-vdom, nim
- Language: Nim
- Homepage:
- Size: 695 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Toybooru
![](preview.png)
Exactly what it says on the tin: a toy booru-like web app.
Has not been fuzzed yet and I'm not even sure the queries are secure yet—**do not use in production!**
You should put it behind something like Nginx, maybe to enforce file size limits?
```
nimble start
```Clean the database by
```
nimble cleanDb
```**Requires devel packages for: libsodium**
Database support:
* SQLite ≥ 3.39.0 (default)
* PostgreSQL (use `nimble -d:usePostgres start`)Configuration is hard-coded for now, look at `src/settings.nim`.
Usage with SQLite requires `libsqlite3-dev` to be installed on Debian, at least.
## What's here?
- Basic [CRUD](https://en.wikipedia.org/wiki/Create,_read,_update_and_delete)
- Tag searching: unprefixed keywords signify an AND relation, keywords prefixed with `-` signify a NOT relation to be applied on top.
- Pagination
- (JS-only) Tag autocomplete, available on the following forms: Search, upload, edit.
- "Namespaced" tags—really just decorated tags if there's a : separating the two parts. Decorations are applied with CSS. Predefined in `screen.css`: `author`, `character_owner`, `character`, `rating`.
- Responsive layout
- Rolling a random picture. Will also be limited to a subset of pictures provided you have an existing tag search query (GET parameter: `q`)
- Utility for importing from [Hydrus Network](https://hydrusnetwork.github.io/hydrus/)… provided you've exported with tags to a corresponding text file.
- Find similar images## Todo
- User accounts (getting there)
- Wiki
- Adding source to images
- Comments, maybe?
- …