GithubHelp home page GithubHelp logo

Comments (3)

FingerlessGlov3s avatar FingerlessGlov3s commented on June 11, 2024

I've created a Channel on Freenode #SecurityFeed, so people can have one place monitor for new breaches and other security related things. Join it if you like 👍

Doesn't have to be self hosted but then there's no costs to pay when your already running a server for the bot. simpler than creating multiple Bitly accounts. In my eyes anyway.

EDIT: Gonna look at some other selfhost ones, try them out and I'll give you a API call :-)

from irc-rss-feed-bot.

FingerlessGlov3s avatar FingerlessGlov3s commented on June 11, 2024

After looking for a while, I think the best way forward is to support YOURLS,

API Reference: https://yourls.org/#API

There is an python library for YOURLS https://pypi.org/project/yourls/

or you could use this

import requests 
 
#api-endpoint 
URL = "https://google.com" 
API_SIGNATURE = "MYSIG34242"#basicly api key
API_URL = "https://hostname/yourls-api.php" 

#Create PARAMS
PARAMS = { 'signature': API_SIGNATURE, 'action': 'shorturl', 'format': 'simple', 'url':URL }

#GetURL 
print (requests.get(url = API_URL, params = PARAMS).text)

from irc-rss-feed-bot.

impredicative avatar impredicative commented on June 11, 2024

Possible simple Go-lang based self-hosted shortener(s):

from irc-rss-feed-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.