[GH-ISSUE #590] [FEATURE] Logo rotation, daily, from an array to simulate doodles #379

Closed
opened 2026-02-25 20:35:35 +03:00 by kerem · 1 comment
Owner

Originally created by @Champagnois88 on GitHub (Dec 24, 2021).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/590

Description:

Allow users to fill a doodles folder (https://www.google.com/doodles for context) with images that will replace the logo on the landing page as part of some once a day rotation.

Admins could enable this feature, supply it with inputs, and ultimately replace the Whoogle Logo with a daily flash card that promotes learning about a particular subject matter.

Originally created by @Champagnois88 on GitHub (Dec 24, 2021). Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/590 Description: Allow users to fill a doodles folder (https://www.google.com/doodles for context) with images that will replace the logo on the landing page as part of some once a day rotation. Admins could enable this feature, supply it with inputs, and ultimately replace the Whoogle Logo with a daily flash card that promotes learning about a particular subject matter.
kerem 2026-02-25 20:35:35 +03:00
Author
Owner

@Don-Swanson commented on GitHub (Oct 1, 2025):

Hello @Champagnois88
While I love the concept, we won't be implementing a built-in doodles feature, there are several ways you can achieve daily logo rotation on your Whoogle instance:

Option 1: Custom CSS (No backend access needed)

Use the built-in Custom CSS feature in the Config panel:

.whoogle-svg { display: none !important; }

/* Add your custom logo */
.logo-container::before {
    content: "";
    display: block;
    width: 300px;
    height: 100px;
    margin: 0 auto;
    background-image: url('https://yourserver.com/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

Change the URL daily via your own automation, or host different images and use CSS to rotate them.

Option 2: Backend File Automation

If you're self-hosting with Docker, you can directly modify the logo template:

#!/bin/bash
# Daily cron job to rotate logo

DAY=$(date +%j)  # Day of year (1-365)
LOGO_COUNT=10    # Number of logos you have

LOGO_NUM=$((DAY % LOGO_COUNT + 1))
cp /path/to/logos/logo-${LOGO_NUM}.svg /path/to/whoogle/app/templates/logo.html

# Restart container if needed
docker restart whoogle

Add to crontab:
0 0 * * * /opt/whoogle-logo-rotation.sh

Option 3: Volume Mount (Docker)

Mount your own logos and swap them via symlink:

volumes:
  - ./app/templates/logo.html:/custom-logo.html:ro

Then rotate the source file daily with your own script.

Reasons for not implementing this:

  • Logo customization is already possible via Custom CSS
  • Automated rotation is straightforward for self-hosted using standard tools
  • Adding UI/logic for doodle management would complicate the codebase without providing core search/privacy value
  • Different users would want different rotation logic (random, sequential, date-based, etc.), and these are too many options to account for.

We recommend implementing whichever method works best for your deployment. Feel free to share your solution in Discussions to help others!

<!-- gh-comment-id:3354557384 --> @Don-Swanson commented on GitHub (Oct 1, 2025): Hello @Champagnois88 While I love the concept, we won't be implementing a built-in doodles feature, there are several ways you can achieve daily logo rotation on your Whoogle instance: ### **Option 1: Custom CSS (No backend access needed)** Use the built-in Custom CSS feature in the Config panel: ```/* Hide default logo */ .whoogle-svg { display: none !important; } /* Add your custom logo */ .logo-container::before { content: ""; display: block; width: 300px; height: 100px; margin: 0 auto; background-image: url('https://yourserver.com/logo.png'); background-size: contain; background-repeat: no-repeat; background-position: center; } ``` Change the URL daily via your own automation, or host different images and use CSS to rotate them. ### **Option 2: Backend File Automation** If you're self-hosting with Docker, you can directly modify the logo template: ``` #!/bin/bash # Daily cron job to rotate logo DAY=$(date +%j) # Day of year (1-365) LOGO_COUNT=10 # Number of logos you have LOGO_NUM=$((DAY % LOGO_COUNT + 1)) cp /path/to/logos/logo-${LOGO_NUM}.svg /path/to/whoogle/app/templates/logo.html # Restart container if needed docker restart whoogle ``` Add to crontab: `0 0 * * * /opt/whoogle-logo-rotation.sh` ### **Option 3: Volume Mount (Docker)** Mount your own logos and swap them via symlink: ``` volumes: - ./app/templates/logo.html:/custom-logo.html:ro ``` Then rotate the source file daily with your own script. Reasons for not implementing this: - Logo customization is already possible via Custom CSS - Automated rotation is straightforward for self-hosted using standard tools - Adding UI/logic for doodle management would complicate the codebase without providing core search/privacy value - Different users would want different rotation logic (random, sequential, date-based, etc.), and these are too many options to account for. We recommend implementing whichever method works best for your deployment. Feel free to share your solution in Discussions to help others!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whoogle-search#379
No description provided.