Nic0 / tyrs

Twitter and Identica client using curses
http://tyrs.nicosphere.net
61 stars 10 forks source link

raccourcir les urls #17

Closed jpec closed 13 years ago

jpec commented 13 years ago

Ce serait bien que tyrs raccourcisse les urls à la volée lorsqu'on écrit un tweet…

quite commented 13 years ago

Perhaps URL shortening is something one would want on a global hotkey. Just a tap on a key-combination, and the URL in the clipboard is shortened, replaced, and read for pasting... Just a thought.

Nic0 commented 13 years ago

I think we want it the same way, maybe you want check this discussion as it also about url shorter https://groups.google.com/group/tyrs/browse_thread/thread/974188488f052e72 I still have to do it, I know :þ

quite commented 13 years ago

Perhaps. But with global I meant system global. I.e. a separate program, which can be called with a system global hotkey, that transforms an URL in the clipboard.That way there is one system-wide way and program to do URL shortening, and each program doesn't need to implement it's own system.

diegoxter commented 13 years ago

Well thats ambition, i believe. Why dont we think first how to implement url shortening in tyrs an later on a system-wide url shortener ? My idea keeps being to make a more powerful tweet editor, so it can make the nick completition and url shortening...

quite commented 13 years ago

Ok, you may be right in that it would be convenient to have in Tyrs. I was just thinking that an URL which is long enough to need shortening probably comes from the clipboard anyhow. And because of that, URL shortening could be done my manipulating the clipboard, for example with: https://aur.archlinux.org/packages.php?ID=48276

Nic0 commented 13 years ago

Default: ur1.ca Support as well: bit.ly More will come, documentation about it is on doc/reference.txt (not yet online) the idea is to press ctrl-U when editing a tweet, and replace the url by a shorter one.