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
This contains timezone mapping information for when preprocessed from the geonames data

when-data This contains timezone mapping information for when preprocessed from the geonames data. It exists in a separate repository so that one does

Armin Ronacher 2 Dec 07, 2021
This repo provides a package to automatically select a random seed based on ancient Chinese Xuanxue

🤞 Random Luck Deep learning is acturally the alchemy. This repo provides a package to automatically select a random seed based on ancient Chinese Xua

Tong Zhu(朱桐) 33 Jan 03, 2023
Python Eacc is a minimalist but flexible Lexer/Parser tool in Python.

Python Eacc is a parsing tool it implements a flexible lexer and a straightforward approach to analyze documents.

Iury de oliveira gomes figueiredo 60 Nov 16, 2022
Fun interactive program to sort a list :)

LHD-Build-Sort-a-list Fun interactive program to sort a list :) Inspiration LHD Build Write a script to sort a list. What it does It is a menu driven

Ananya Gupta 1 Jan 15, 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
This is the data scrapped of all the pitches made up potential startup's to established bussiness tycoons of India with all the details of Investments made, equity share, Name of investor etc.

SharkTankInvestor This is the data scrapped of all the pitches made up potential startup's to established bussiness tycoons of India with all the deta

Subradip Poddar 2 Aug 02, 2022
Assignments from Launch X's python introduction course

Launch X - On Boarding Assignments from Launch X's Python Introduction Course Explore the docs » Report Bug · Request Feature Table of Contents About

Javier Méndez 0 Mar 15, 2022
An interview engine for businesses, interview those who are actually qualified and are worth your time!

easyInterview V0.8B An interview engine for businesses, interview those who are actually qualified and are worth your time! Quick Overview You/the com

Vatsal Shukla 1 Nov 19, 2021
204-python-string-21BCA90 created by GitHub Classroom

204-Python This repository is created for subject "204 Programming Skill" Python Programming. This Repository contain list of programs of python progr

VIDYABHARTI TRUST COLLEGE OF BCA 6 Mar 31, 2022
Generating a report CSV and send it to an email - Python / Django Rest Framework

Generating a report in CSV format and sending it to a email How to start project. Create a folder in your machine Create a virtual environment python3

alexandre Lopes 1 Jan 17, 2022
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
Count the number of lines of code in a directory, minus the irrelevant stuff

countloc Simple library to count the lines of code in a directory (excluding stuff like node_modules) Simply just run: countloc node_modules args to

Anish 4 Feb 14, 2022
LotteryBuyPredictionWebApp - Lottery Purchase Prediction Model

Lottery Purchase Prediction Model Objective and Goal Predict the lottery type th

Wanxuan Zhang 2 Feb 14, 2022
Code and pre-trained models for "ReasonBert: Pre-trained to Reason with Distant Supervision", EMNLP'2021

ReasonBERT Code and pre-trained models for ReasonBert: Pre-trained to Reason with Distant Supervision, EMNLP'2021 Pretrained Models The pretrained mod

SunLab-OSU 29 Dec 19, 2022
Gtech μLearn Sample_bot

Ser_bot Gtech μLearn Sample_bot Do Greet a newly joined member in a channel (random message) While adding a reaction to a message send a message to a

Jerin Paul 1 Jan 19, 2022
charcade is a string manipulation library that can animate, color, and bruteforce strings

charcade charcade is a string manipulation library that can animate, color, and bruteforce strings. Features Animating text for CLI applications with

Aaron 8 May 23, 2022
Python script to generate Vale linting rules from word usage guidance in the Red Hat Supplementary Style Guide

ssg-vale-rules-gen Python script to generate Vale linting rules from word usage guidance in the Red Hat Supplementary Style Guide. These rules are use

Vale at Red Hat 1 Jan 13, 2022
OpenAPI Spec validator

OpenAPI Spec validator About OpenAPI Spec Validator is a Python library that validates OpenAPI Specs against the OpenAPI 2.0 (aka Swagger) and OpenAPI

A 241 Jan 05, 2023
💯 Coolest snippets

nvim-snippets This was originally included in my personal Neovim setup, but I didn't like having all the snippets there so I decided to have them sepa

Eliaz Bobadilla 6 Aug 31, 2022
An introduction course for Python provided by VetsInTech

Introduction to Python This is an introduction course for Python provided by VetsInTech. For every "boot camp", there usually is a pre-req, but becaus

Vets In Tech 2 Dec 02, 2021