GithubHelp home page GithubHelp logo

thedevs-network / kutt-extension Goto Github PK

View Code? Open in Web Editor NEW
136.0 5.0 37.0 16.61 MB

๐Ÿ”—โœ‚๏ธ Cross-Browser URL Shortener Extension based on Kutt.it

License: MIT License

HTML 0.65% JavaScript 6.38% TypeScript 91.32% SCSS 1.65%
browser-extension kutt url-shortener kutt-it shorten-urls firefox-addon chrome-extension opera-extension cross-browser webextension

kutt-extension's Introduction

kutt-extension

Browser extension for Kutt.it


โค๏ธ it? โญ๏ธ it on GitHub

Features

  • Minimal UI
  • Instant QR Code
  • Cross Browser Support
  • Supports Secure Passwords for URLs
  • History & Incognito Feature
  • Auto Copy Feature
  • Free and Open Source
  • Uses WebExtensions API

Browser Support

Chrome Firefox Opera Edge Yandex Brave vivaldi
49 & later โœ” 52 & later โœ” 36 & later โœ” 79 & later โœ” Latest โœ” Latest โœ” Latest โœ”

How to use


Screenshots

popup
_
options

Note

  • Kutt.it API permits 50 URLs shortening per day using the API Key.
  • Enable Custom Host option to use with self-hosted kutt
    • Save the self hosted domain in the input (eg: https://mykutt.it)
      • Note: the api endpoint is automatically appended during the api call.
  • Delay at times while shortening might be the issue with Kutt.it API and not with the extension's.

Contributing and Support

View the Contributing guidelines here.

Original Repo: thedevs-network/kutt

Licence

Code released under the MIT License.

kutt-extension's People

Contributors

abhijithvijayan avatar ashikmeerankutty avatar coloredlambda avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar poeti8 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  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

kutt-extension's Issues

migrate to v2 api for link shortening

  • issue a warning message to users(who have set up custom target) about upgrading kutt shortener to v2 API

If you have the warning message appear like this
Screenshot from 2020-02-05 06-55-57

Please migrate to kutt.it v2 latest release

If you have upgraded your custom hosted kutt to the latest version and still have this warning message, please ignore as the next release will remove the message(minor patch will be up just as the users are aware of v2 api)

Major update will take time as extension is rewritten from scratch

If you have any questions, please comment below.

[Feature] Work with Self Hosted Kutt

Hello,

Please add a config so the self host kutt (hosted on own cloud with own domain) can build extensions. config only need url of self hosted kutt.

Edge Browser Support | Add to readme

The latest dev build of Edge Browser(based on Chromium) supports the extension and works flawlessly.
It can be installed from Chrome store like for Opera.

Adding the instructions for installation and also adding edge to supported browsers list to readme.md with correct version.

[BUG] Fix the custom url trail causing error

When a user uses local kutt server and goes in address with a / it will fail to work, maybe a fix for this is not hard, a website would normally resolve both / and non trailing addresses.

[BUG] Avoid URL DUPLICATES

For example:
image
we can wee I made some tests and we have 3 sites different url shortened. Maybe just to seek if it was previously shortened and recover it, or cache it...

Regenerate Option

  1. When the link of long-website-name was created, show the link one and make a choice to "create new link" and "replace with new link (delete and generate the new one)"

(done) 2. Have an option, click the extension icon auto-generate and auto-copy link into clipboard

Configurable Options

  • Auto Copy
  • History(Incongnito Mode)
  • Keyboard shortcut
  • Context menu

Add On/Off switches too.

[BUG] CORS Exclusion rules or some fix?

I just enabled CORS in Kutt deployment for security testing. What ever is super funny that the plugin works fine from Firefox:
image

Not working from Chrome / Opera.

_generated_background_page.html:1 Access to XMLHttpRequest at 'https://uhl.site/api/url/submit' from origin 'chrome-extension://hjfddajaffgcaickfkfdapafihjbcacl' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The 'Access-Control-Allow-Origin' header has a value 'https://uhl.site' that is not equal to the supplied origin.
uhl.site/api/url/submit:1 Failed to load resource: net::ERR_FAILED

Feature: custom url shortening

I see that there is no option to set any custom URL, only the generated one has to be used? This doesn't solve the complete purpose.

A great extension, though! Thanks @abhijithvijayan!

I would highly appreciate it if you can come up with this solution.

[refactor] redesign user interface

Screenshot from 2019-11-22 23-58-21

  • Access Settings / History On Right Click On Firefox
  • Option to Set Custom URL (User Specific)
  • Option to Disable Auto Shortening
  • Show Link to Dashboard
  • Right Click on Links Showing Shorten Options

provide seamless migration for existing users to upcoming major version

  • Set up a function to update extension settings (from browser local storage)
    to the new settings keys
    Map the keys like autoCopy : true to the new
"settings": {
   "autocopy": true,
   ...
}

on the installation / initialization of new major version.

  • Remove this feature after all the users have switched to the new major version

Without this mapping, the extension will UX issues for those who are using it currently.

Improve "copied" text UI

Change the text to "Copied to clipboard.", make the color the same green as in Kutt and move it to the top of the URL (absolute position). Also, a little bit smaller maybe.
Just to make it look more like Kutt's website and also to get rid of the glitchy feeling caused by the change in the height.

[Feature] Safari support?

Since Safari is default OSX Browser, guess would be great to have kutt.it in it. I would be glad to help with debugging solving issues for such.

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.