Skip to content

Da3dalusCode/Link-Preview-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Link Preview Generator

A simple tool to generate HTML embed code for URL previews. Ideal for platforms like Squarespace that don’t reliably auto-generate URL previews.

Features

  • Extracts Open Graph metadata from URLs to create HTML embed code.
  • Displays a preview similar to social media previews with title, description, and image.
  • Offers both a standalone executable for easy use and the Python source code for customization.

Installation and Usage

Quick Start with Executable

  1. Download the executable from the dist/ folder: Link Preview Generator.exe.
  2. Run Link Preview Generator.exe.
  3. Enter a URL and generate the HTML code, ready for embedding.

Run from Source Code

  1. Clone the repository:
    git clone https://github.com/yourusername/Link-Preview-Generator.git
  2. Install dependencies:
    pip install -r requirements.txt
  3. Run the script:
    python src/link_preview_generator.py

Screenshots

Here’s how the Link Preview Generator looks in action:

Link Preview Generator Screenshot 1

How the GUI appears after pasting in a URL

Link Preview Generator Screenshot 2

The result after pasting the generated code on a website

Contributing

Contributions are welcome! Submit pull requests or open issues to improve the tool.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages