Skip to content

Alcheri/URLtitle

URLtitle

Tests Lint CodeQL Python Code style: black Limnoria License

Description

A simple plugin that detects URLs in a channel and returns the page title. Shortened URLs from Minily, Bitly, and TinyURL are resolved automatically.

Install

Go into your Limnoria plugin dir, usually ~/runbot/plugins and run:

git clone https://github.com/Alcheri/URLtitle.git

To install additional requirements, run from /plugins/URLtitle:

pip install --upgrade -r requirements.txt

Next, load the plugin:

/msg bot load URLtitle

Configuring

  • config channel #channel plugins.URLtitle.enabled True or False (On or Off)

    Should plugin work in this channel?

  • supybot.plugins.URLtitle.userAgent

    User-Agent header sent when fetching URLs. Default is a plugin-specific Limnoria URLtitle identifier.

  • config channel #channel plugins.URLtitle.showExpandedShortUrl True or False (On or Off)

    If enabled and a supported short URL (Minily, Bitly, TinyURL) is resolved, URLtitle appends the expanded destination URL in the reply.



Copyright © 2016 - 2026, Barry Suridge

Python Source Header Policy

  • In Python 3 files, do not add # -*- coding: utf-8 -*- unless a non-default source encoding is required.
  • Use #!/usr/bin/env python3 only for executable scripts, not import-only modules.

About

A simple plugin that detects URLs in a channel and returns the page title.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages