Thumba

Thumba

Docker app from BoKKeR's Repository

Overview

A self-hosted Thumbnail generator/finder which creates thumbnails based on folder names and google search results. This project uses the Google search api to find URL-s based on folder names. From there thum.io is used to generat thumbnails of the url-s. Check the readme https://github.com/BoKKeR/thumba
thumba

Docker Pulls Docker Stars GitHub Workflow Status (branch) Docker Image Size (latest by date) Buy Me A Coffee

Thumba

A self hosted Thumbnail generator/finder which creates thumbnails based on folder names and google search results.

Description

This project uses the Google search api to find URL-s based on folder names. From there thum.io is used to generat thumbnails of the url-s.

Video

https://user-images.githubusercontent.com/2664857/181109614-c2b1c286-ee9d-4ed9-b762-fb6e5b59ddfd.mp4

Docker

docker create \
  --name=thumba \
  -e GOOGLE_SEARCH_KEY=key \
  -e GOOGLE_SEARCH_CX=projectId \
  -e THUM_KEY_ID=keyID \
  -e THUM_KEY_SECRET=keySecret \
	-e NEXT_PUBLIC_HOST=http://localhost \
	-e NEXT_PUBLIC_PORT=10010 \
  -v /path/to/host/config:/app/config \
  -v /path/to/host/thumbnail_folder:/app/video \
  -p 10010:10010 \
  --restart unless-stopped \
  bokker/thumba

You can optionally set the port using NEXT_PUBLIC_PORT You can optionally set the host using NEXT_PUBLIC_HOST dont set the port here, just the IP, default is localhost it should match the host where you are accessing the service from.

Dockerhub: https://hub.docker.com/r/bokker/thumba/

Usage

You will need two API keys and a search engine project CX ID.

Google custom search API

Google custom search API is used to find website results based on the folder names. Google has a 100 search per day free tier but the paid options should be fairly cheap also.

  1. sign up to https://programmablesearchengine.google.com/
  2. create a new project with access to the entire web
  3. grab the ID
  4. Enable the search API at https://developers.google.com/custom-search/v1/introduction and grab the GOOGLE_SEARCH_KEY
  5. (optional) Add billing account if more than free tier amounts needed at

Thum.io API

This service is used to generate the images from the URLs. They provide a paid plan that includes 10000 images for 1$ a month

  1. sign up https://www.thum.io/signup
  2. add credit card
  3. generate a key at https://www.thum.io/admin/keys
  4. copy keyID and keySecret (not key name)

Contribution

I'm open to contributions & suggestions in making this a lot better :hand:

License

GNU AGPLv3

Install Thumba on Unraid in a few clicks.

Find Thumba in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.

Open the Apps tab on your Unraid server Search Community Apps for Thumba Review the template variables and paths Click Install

Download Statistics

26,030
Total Downloads
20
This Month
35
Avg / Month

Total Downloads Over Time

Loading chart...

Related apps

Details

Repository
bokker/thumba:latest
Last Updated2022-12-08
First Seen2022-07-27

Runtime arguments

Web UI
http://[IP]:[PORT:10010]
Network
bridge
Shell
sh
Privileged
false

Template configuration

WebUIPorttcp

WebUI

Target
10010
Default
10010
Value
10010
GOOGLE_SEARCH_KEYVariable

Google custom search key: Check the readme https://github.com/BoKKeR/thumba

GOOGLE_SEARCH_CXVariable

Google custom search project id: Check the readme https://github.com/BoKKeR/thumba

THUM_KEY_IDVariable

Thum.io keyID: Check the readme https://github.com/BoKKeR/thumba

THUM_KEY_SECRETVariable

Thum.io keySecret: Check the readme https://github.com/BoKKeR/thumba

NEXT_PUBLIC_HOSTVariable

Set the host IP/domain without port

Value
http://[IP]
AppdataPathrw

Config Path

Target
/config
Default
/mnt/user/appdata/thumba
Value
/mnt/user/appdata/thumba
Media PathPathrw

Config Path

Target
/app/video