Code Monkey home page Code Monkey logo

random-keywords's Introduction

Random Keywords

Plugin for YOURLS 1.5 to 1.7.3 (this plugin is bundled with YOURLS 1.7.4+)

Description

Assign random keywords to shorturls, like bitly (ie http://sho.rt/hJudjK).

Installation

  1. In /user/plugins, create a new folder named random-keywords.
  2. Drop these files in that directory.
  3. Go to the Plugins administration page ( eg http://sho.rt/admin/plugins.php ) and activate the plugin.
  4. Have fun!

License

YOURLS' license, aka "Do whatever the hell you want with it". YOURLS MIT License

random-keywords's People

Contributors

jensspanier avatar leocolomb avatar ozh avatar tipichris avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

random-keywords's Issues

Option for using hyphens in keyword with 'Allow Hyphens in Short URLs'

When using core plugin Allow Hyphens in Short URLs hyphens are included in the random keywords.

An option to generate random keywords without hyphens whilst preserving the ability to use them in manually-entered keywords would be useful (like Bitly).


PS: Not sure if this is best filed here or in YOURLS/YOURLS as an issue for the hyphens plugin. Please delete/move as necessary

Length of random keyword

If i set "Length of random keyword" as 1 then after all the combinations are exhausted, the link generation takes forever. Is there a way to increase length of keywords as the combinations get exhausted automatically but keeping a minimum number or characters, say 3.

If there are no available keywords, the plugin fails to generate a url

I am guessing this is by design? I set it at 1 and it stopped generating keywords after it exhausted all available options (i assume)? I thought it would automatically switch to 2 alphabets once it runs out of single character urls. Just wanted to check. I do understand that this option is designed for a higher setting... I have now set it to 2 and would wait for it to exhaust all remaining keywords before I move to 3 manually.

Defined character set

Hello,

you wrote: plugin now complies to character set defined in config.php.
Could you please let me know which variable has to be defined?
Can you give an example please?
thank you, n brgds
Dom

collision handling

I was looking at the code and failed to see how collisions are handled. What heppens, if the generated keyword already exists. I admit, the chances are pretty low, but still, there doesn't seem to be a test that would handle such a case.

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.