Bildschatz: Add public image database website - #919
Draft
sascha11110 wants to merge 1 commit into
Draft
Conversation
Add a public single-page website that lets anyone search for a word and browse all publicly available images assigned to the matching words. Enhance the public /api/v2/words/ endpoint with an optional 'search' query parameter that filters words by substring and, when searching, returns all public images of a word (default image plus the images defined on its released unit relations). Search terms have to be at least 3 characters long, otherwise the request is rejected with HTTP 400. Fully backward compatible when no 'search' parameter is given. Add a lightweight 'bildschatz' Django app serving a responsive single-page frontend that consumes the public API. The search term is read from the 'q' query parameter so result pages are shareable, and the 3-character minimum is enforced inline in the search field.
Contributor
LLM Review (verdigado-think)1. Django correctness
2. Internationalization
3. Type safety
4. Code quality gates
5. Security
6. Testing
8. Commit message style
|
sascha11110
requested review from
JoeyStk,
LeandraH,
david-venhoff and
f1sh1918
and removed request for
JoeyStk,
LeandraH,
david-venhoff and
f1sh1918
July 22, 2026 14:01
Contributor
|
Looks and works already really good @sascha11110
|
Contributor
|
please also test how to test section @sascha11110 |
LeandraH
reviewed
Jul 29, 2026
LeandraH
left a comment
Contributor
There was a problem hiding this comment.
This looks very cool! One thing, I tested with a word that also has an image for the unit word relation, and those images didn't show up. I guess we should show those words as well.
| <meta name="description" content="Bildschatz ist die offene Bilddatenbank für Wörter. Gib ein Wort ein und finde passende, frei nutzbare Bilder."> | ||
| <link rel="preconnect" href="https://fonts.googleapis.com"> | ||
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
| <link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&display=swap" rel="stylesheet"> |
Contributor
There was a problem hiding this comment.
Let's not send Google our data 😬
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a public single-page website that lets anyone search for a word and browse all publicly available images assigned to the matching words.
Enhance the public /api/v2/words/ endpoint with an optional 'search' query parameter that filters words by substring and, when searching, returns all public images of a word (default image plus the images defined on its released unit relations). Search terms have to be at least 3 characters long, otherwise the request is rejected with HTTP
400. Fully backward compatible when no 'search' parameter is given.
Add a lightweight 'bildschatz' Django app serving a responsive single-page frontend that consumes the public API. The search term is read from the 'q' query parameter so result pages are shareable, and the 3-character minimum is enforced inline in the search field.