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
A complete kickstart devcontainer repository for python3

A complete kickstart devcontainer repository for python3

Viktor Freiman 3 Dec 23, 2022
level2-data-annotation_cv-level2-cv-15 created by GitHub Classroom

[AI Tech 3기 Level2 P Stage] 글자 검출 대회 팀원 소개 김규리_T3016 박정현_T3094 석진혁_T3109 손정균_T3111 이현진_T3174 임종현_T3182 Overview OCR (Optimal Character Recognition) 기술

6 Jun 10, 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
A system for Python that generates static type annotations by collecting runtime types

MonkeyType MonkeyType collects runtime types of function arguments and return values, and can automatically generate stub files or even add draft type

Instagram 4.1k Jan 07, 2023
Course materials for: Geospatial Data Science

Course materials for: Geospatial Data Science These course materials cover the lectures for the course held for the first time in spring 2022 at IT Un

Michael Szell 266 Jan 02, 2023
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

T. Franzel 1.4k Jan 08, 2023
A Python validator for SHACL

pySHACL A Python validator for SHACL. This is a pure Python module which allows for the validation of RDF graphs against Shapes Constraint Language (S

RDFLib 187 Dec 29, 2022
Easy OpenAPI specs and Swagger UI for your Flask API

Flasgger Easy Swagger UI for your Flask API Flasgger is a Flask extension to extract OpenAPI-Specification from all Flask views registered in your API

Flasgger 3.1k Jan 05, 2023
Make posters from Markdown files.

MkPosters Create posters using Markdown. Supports icons, admonitions, and LaTeX mathematics. At the moment it is restricted to the specific layout of

Patrick Kidger 243 Dec 20, 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
advance python series: Data Classes, OOPs, python

Working With Pydantic - Built-in Data Process ========================== Normal way to process data (reading json file): the normal princiople, it's f

Phung Hưng Binh 1 Nov 08, 2021
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

Alexander Kaigorodov 7 Dec 26, 2021
:blue_book: Automatic documentation from sources, for MkDocs.

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

Timothée Mazzucotelli 1.1k Dec 31, 2022
The project that powers MDN.

Kuma Kuma is the platform that powers MDN (developer.mozilla.org) Development Code: https://github.com/mdn/kuma Issues: P1 Bugs (to be fixed ASAP) P2

MDN Web Docs 1.9k Dec 26, 2022
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
The OpenAPI Specification Repository

The OpenAPI Specification The OpenAPI Specification is a community-driven open specification within the OpenAPI Initiative, a Linux Foundation Collabo

OpenAPI Initiative 25.5k Dec 29, 2022
Ultimaker Cura 2 Mooraker Upload Plugin

Klipper & Cura - Cura2MoonrakerPlugin Allows you to upload Gcode directly from Cura to your Klipper-based 3D printer (Fluidd, Mainsailos etc.) using t

214 Jan 03, 2023
300+ Python Interview Questions

300+ Python Interview Questions

Pradeep Kumar 1.1k Jan 02, 2023
Uses diff command to compare expected output with student's submission output

AUTOGRADER for GRADESCOPE using diff with partial grading Description: Uses diff command to compare expected output with student's submission output U

2 Jan 11, 2022
My solutions to the Advent of Code 2021 problems in Go and Python 🎄

🎄 Advent of Code 2021 🎄 Summary Advent of Code is an annual Advent calendar of programming puzzles. This year I am doing it in Go and Python. Runnin

Orfeas Antoniou 16 Jun 16, 2022