Code Monkey home page Code Monkey logo

vivaldi-speeddial-thumbnail-fetcher's Introduction

Vivaldi-SpeedDial-Thumbnail-Fetcher

Automatically fetches and changes the thumbnail of sites in Vivaldi's speed dial.
vivaldi forum link
https://forum.vivaldi.net/topic/23414/an-automatic-logo-thumbnail-fetcher-and-changer-for-vivaldi-speeddial

PREREQUISITES

  • Python 3 or above

LIBRARIES USED

  • python-resize-image

CONFIGURATION

  • pip install -r requirements.txt
  • change the values of the following varialbles in thumb_fetcher.py
  • You can change show_thumbnail_mode to True for showing the thumbnails before asking to change or not
  • Also change the values of selection and skip according to need
Name Description Path
top_sites_path Stores the path to the "Top Sites" file of Vivaldi which stores the thumbnails. Windows: C:/Users/<User>/AppData/Local/Vivaldi/User Data/Default/Top Sites
OS X: /Users/<User>/Library/Application Support/Vivaldi/Default/Top Sites
Linux: /home/<User>/.config/vivaldi-snapshot/Default/Top Sites
bookmark_path Stores the path to the "Bookmark" file of Vivaldi which stores among other things the bookmark id and its name. Windows: C:/Users/<User>/AppData/Local/Vivaldi/User Data/Default/Bookmarks
OS X: /Users/<User>/Library/Application Support/Vivaldi/Default/Bookmarks
Linux: /home/<User>/.config/vivaldi-snapshot/Default/Bookmarks

Important:

  • You need to replace <User> with your own user name.
  • When modifying or replacing the paths make sure you only use /. You need to replace all backslashes when copying a Windows path from the explorer!

RUNNING THE SCRIPT

  • Close all instances of vivaldi before running the script
  • The original files will be backed up in the working directory of the script

PLEASE NOTE

The thumbnails fetched are twitter thumbnails for the given site. So images might be incorrect in certain cases. As favicons are very small this is the best option right now. Please dont bash me for this.

EXAMPLE

BEFORE

alt text

RUNNING

alt text

AFTER

alt text

vivaldi-speeddial-thumbnail-fetcher's People

Contributors

gotham13 avatar pawe1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

pawe1 jvbs

vivaldi-speeddial-thumbnail-fetcher's Issues

Not working

As 2021, it gives "error 404" for each website.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.