Preview title and other information about links sent to chats.

Overview

Link Preview

A small plugin for Nicotine+ to display preview information like title and description about links sent in chats.

Plugin created with Nicotine+ Plugin Template made by Nachtalb.

Installation

Open Nicotine+ settings, go to General > Plugins and click + Add Plugins. After that download the latest release and extract it into the plugins folder.

Remove the version from the folder name. The folder name must stay the same across version upgrades otherwise you will loose any changed settings.

Now you can enable the Link Preview plugin in the previously opened plugin settings.

Commands

  • /lp-update manually check for updates.
  • /lp-reload reload the plugin.

Settings

Name Function Default
Check for Updates Check for updates on start and periodically Enabled
Message Colour How the message should be coloured Action
Link Preview

Template for how to display the information. Available placeholders are:

  • {site_name}: Eg. YouTube, Google & Twitter
  • {title}: Eg. "Some video title foo bar", "Your search query on google"
  • {description}: Eg. "This is some video description on youtube"
  • {url}: The URL which was sent in the chat message
['* Title: {site_name} {title}', '* Description: {description}']
Domain Blacklist

This may come in useful eg. when you have the YouTube Link Preview plugin active that has more detailed information about youtube videos.

Prefix any regex with r/.

You can use this regex if you use the YouTube plugin (see plugin description to copy it): r/(?:www\.|m\.)?youtu(?:be\-nocookie\.com|\.be|be\.com)

[]
Domain Whitelist Works the same as the blacklist but the other way around. Blacklist will be ignored. []

Contributing

Pull requests are welcome.

License

MIT

You might also like...
NetBox plugin that stores configuration diffs and checks templates compliance
NetBox plugin that stores configuration diffs and checks templates compliance

Config Officer - NetBox plugin NetBox plugin that deals with Cisco device configuration (collects running config from Cisco devices, indicates config

API spec validator and OpenAPI document generator for Python web frameworks.

API spec validator and OpenAPI document generator for Python web frameworks.

Documentation generator for C++ based on Doxygen and mosra/m.css.

mosra/m.css is a Doxygen-based documentation generator that significantly improves on Doxygen's default output by controlling some of Doxygen's more unruly options, supplying it's own slick HTML+CSS generation and adding a fantastic live search feature.

Automated Integration Testing and Live Documentation for your API
Automated Integration Testing and Live Documentation for your API

Automated Integration Testing and Live Documentation for your API

Netbox Dns is a netbox plugin for managing zone, nameserver and record inventory.
Netbox Dns is a netbox plugin for managing zone, nameserver and record inventory.

Netbox DNS Netbox Dns is a netbox plugin for managing zone, nameserver and record inventory. Features Manage zones (domains) you have. Manage nameserv

Sane and flexible OpenAPI 3 schema generation for Django REST framework.

drf-spectacular Sane and flexible OpenAPI 3.0 schema generation for Django REST framework. This project has 3 goals: Extract as much schema informatio

PySpark Cheat Sheet - learn PySpark and develop apps faster
PySpark Cheat Sheet - learn PySpark and develop apps faster

This cheat sheet will help you learn PySpark and write PySpark apps faster. Everything in here is fully functional PySpark code you can run or adapt to your programs.

the project for the most brutal and effective language learning technique
the project for the most brutal and effective language learning technique

- "The project for the most brutal and effective language learning technique" (c) Alex Kay The langflow project was created especially for language le

Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.

Introduction Swagger UI allows anyone — be it your development team or your end consumers — to visualize and interact with the API’s resources without

Releases(v1.2.2)
  • v1.2.2(Sep 4, 2021)

  • v1.2.1(Sep 3, 2021)

  • v1.2.0(Sep 3, 2021)

    • Add whitelist | Name | Function | Default | |------------------|--------------------------------------------------------------------------------------|---------| | Domain Whitelist | Works the same as the blacklist but the other way around. Blacklist will be ignored. | [] |

    • Ignore files and other non HTML links

    Source code(tar.gz)
    Source code(zip)
  • v1.1.1(Sep 3, 2021)

  • v1.1.0(Sep 3, 2021)

    Name Function Default
    Domains to ignore

    This may come in useful eg. when you have the YouTube Link Preview plugin active that has more detailed information about youtube videos.

    Prefix any regex with r/.

    You can use this regex if you use the YouTube plugin (see plugin description to copy it): r/(?:www\\.|m\\.)?youtu(?:be\\-nocookie\\.com|\\.be|be\\.com)

    []
    Source code(tar.gz)
    Source code(zip)
  • v1.0.0(Sep 3, 2021)

    A small plugin for Nicotine+ to display preview information like title and description about links sent in chats.

    Installation

    Open Nicotine+ settings, go to General > Plugins and click + Add Plugins. After that download the latest release and extract it into the plugins folder.

    Now you can enable the Link Preview plugin in the previously opened plugin settings.

    Commands

    • /lp-update manually check for updates.
    • /lp-reload reload the plugin.

    Settings

    Name Function Default
    Check for Updates Check for updates on start and periodically Enabled
    Message Colour How the message should be coloured Action
    Link Preview

    Template for how to display the information. Available placeholders are:

    • {site_name}: Eg. YouTube, Google & Twitter
    • {title}: Eg. "Some video title foo bar", "Your search query on google"
    • {description}: Eg. "This is some video description on youtube"
    • {url}: The URL which was sent in the chat message
    ['* Title: {site_name} {title}', '* Description: {description}']

    Contributing

    Pull requests are welcome.

    License

    MIT

    Source code(tar.gz)
    Source code(zip)
Owner
Nick
But I don't want to add a bio.
Nick
The blazing-fast Discord bot.

Wavy Wavy is an open-source multipurpose Discord bot built with pycord. Wavy is still in development, so use it at your own risk. Tools and services u

Wavy 7 Dec 27, 2022
Generate a single PDF file from MkDocs repository.

PDF Generate Plugin for MkDocs This plugin will generate a single PDF file from your MkDocs repository. This plugin is inspired by MkDocs PDF Export P

198 Jan 03, 2023
Docov - Light-weight, recursive docstring coverage analysis for python modules

docov Light-weight, recursive docstring coverage analysis for python modules. Ov

Richard D. Paul 3 Feb 04, 2022
The tutorial is a collection of many other resources and my own notes

Why we need CTC? --- looking back on history 1.1. About CRNN 1.2. from Cross Entropy Loss to CTC Loss Details about CTC 2.1. intuition: forward algor

手写AI 7 Sep 19, 2022
Swagger Documentation Generator for Django REST Framework: deprecated

Django REST Swagger: deprecated (2019-06-04) This project is no longer being maintained. Please consider drf-yasg as an alternative/successor. I haven

Marc Gibbons 2.6k Jan 03, 2023
Hjson for Python

hjson-py Hjson, a user interface for JSON Hjson works with Python 2.5+ and Python 3.3+ The Python implementation of Hjson is based on simplejson. For

Hjson 185 Dec 13, 2022
A course-planning, course-map rendering and GPA-calculation web service, designed for the SFU (Simon Fraser University) student.

SFU Course Planner What is the overall goal of the project (i.e. what does it do, or what problem is it solving)? As the title suggests, this project

Ash Peng 1 Oct 21, 2021
A simple tutorial to get you started with Discord and it's Python API

Hello there Feel free to fork and star, open issues if there are typos or you have a doubt. I decided to make this post because as a newbie I never fo

Sachit 1 Nov 01, 2021
An MkDocs plugin that simplifies configuring page titles and their order

MkDocs Awesome Pages Plugin An MkDocs plugin that simplifies configuring page titles and their order The awesome-pages plugin allows you to customize

Lukas Geiter 282 Dec 28, 2022
A Python Package To Generate Strong Passwords For You in Your Projects.

shPassGenerator Version 1.0.6 Ready To Use Developed by Shervin Badanara (shervinbdndev) on Github Language and technologies used in This Project Work

Shervin 11 Dec 19, 2022
Fast, efficient Blowfish cipher implementation in pure Python (3.4+).

blowfish This module implements the Blowfish cipher using only Python (3.4+). Blowfish is a block cipher that can be used for symmetric-key encryption

Jashandeep Sohi 41 Dec 31, 2022
A complete kickstart devcontainer repository for python3

A complete kickstart devcontainer repository for python3

Viktor Freiman 3 Dec 23, 2022
Python code for working with NFL play by play data.

nfl_data_py nfl_data_py is a Python library for interacting with NFL data sourced from nflfastR, nfldata, dynastyprocess, and Draft Scout. Includes im

82 Jan 05, 2023
:blue_book: Automatic documentation from sources, for MkDocs.

mkdocstrings Automatic documentation from sources, for MkDocs. Features - Python handler - Requirements - Installation - Quick usage Features Language

1.1k Jan 04, 2023
Legacy python processor for AsciiDoc

AsciiDoc.py This branch is tracking the alpha, in-progress 10.x release. For the stable 9.x code, please go to the 9.x branch! AsciiDoc is a text docu

AsciiDoc.py 178 Dec 25, 2022
Some of the best ways and practices of doing code in Python!

Pythonicness ❤ This repository contains some of the best ways and practices of doing code in Python! Features Properly formatted codes (PEP 8) for bet

Samyak Jain 2 Jan 15, 2022
Sms Bomber, Tool Encryptor

ɴᴏʙɪᴛᴀシ︎ ғᴏʀ ᴀɴʏ ʜᴇʟᴘシ︎ Install pkg install git -y pkg install python -y pip install requests git clone https://github.com/AK27HVAU/akash Run cd Akash

ɴᴏʙɪᴛᴀシ︎ 4 May 23, 2022
Main repository for the Sphinx documentation builder

Sphinx Sphinx is a tool that makes it easy to create intelligent and beautiful documentation for Python projects (or other documents consisting of mul

5.1k Jan 02, 2023
A python package to avoid writing and maintaining duplicated python docstrings.

docstring-inheritance is a python package to avoid writing and maintaining duplicated python docstrings.

Antoine Dechaume 15 Dec 07, 2022
Netbox Dns is a netbox plugin for managing zone, nameserver and record inventory.

Netbox DNS Netbox Dns is a netbox plugin for managing zone, nameserver and record inventory. Features Manage zones (domains) you have. Manage nameserv

Aurora Research Lab 155 Jan 06, 2023