Giter Site home page Giter Site logo

setdirection / twinput Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 11.96 MB

Rich twitter input

Home Page: http://setdirection.com/

Io 0.01% CoffeeScript 0.01% Ruby 0.01% Assembly 0.03% D 0.05% Python 0.13% Perl 0.95% Shell 1.52% C 17.50% JavaScript 27.31% C++ 52.49%

twinput's People

Contributors

dalmaer avatar ewpreston avatar

Watchers

 avatar  avatar

twinput's Issues

Fun textarea colorization

textBackGroundColorChanges: true

A setting that will have the textarea change color as the user types..... from subtle green to red say..... with gradients!

Implement onlyShrinkWhenNeeded

If the "onlyShrinkWhenNeeded" setting is true, only shrink URLs when the length of the tweet is getting long.

The use cases are:

  • Some users like to see a full descriptive URL if they can, so want this true
  • Some users use the tracking ability of a bit.ly, so want this false

Implement useLocation

A checkbox setting for location. When checked make sure to request geolocation access and use it when tweeting.

Implement tweetWithLocation

This action will add another button that will enable the user to click on it instead of the standard tweet and it will tweet AND add the location (so it one time enables location)

Allow embedders to use our hosted plugin

If users use our hosted plugin, then all of the settings will be shared no matter what site you are on because:

  • The same localStorage can be found
  • We can store in the cloud too.

Implement autoShrinkURLs

If this option is set, automatically run the shrinkURLs function as the user pastes/types them in.

Implement Character Palette

If the palette setting is enabled, the user can run the action (via button in UI strip or keyboard shortcut if enabled) to popup a palette of cool characters. e.g. โ™บ

Add shrinkURLs function

The function will take the input and shrink any http:// URLs.

To begin with, use bit.ly only.

Send tweets to Facebook

There are plenty of services that do this. The issue is that there are two modes:

  1. "Put this on both #fb" I hate seeing #fb
  2. "Automatically put everything on both"

Twitter now has metadata, so it would be cool to add:
type: personal, business, both

and then from that have it import to FB (and other services such as linkedin)

Implement shrinkWords

The shrinkWords action takes the text and does what it can to shrink it for you. E.g. s/and/&/g.

Show the character count correctly for a tweet

As long as the setting is true (e.g. make sure to add a default setting and check for it) show the character count information.

This involves:

  • Limit to 140 characters
  • Light grey early on (first chars)
  • Get darker as more chars are typed
  • Turn yellow when 50 chars left and get more orange
  • Turn red when negative

Show location

If useLocation is setup, show the location that is being used and allow the user to maybe change the scope?

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.