Player.js is a library that allows you to programmatically control video and audio within iFrames across a number of services.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
var player = new playerjs.Player('iframe'); player.on('ready', function(){ player.on('play', function(){ console.log('play'); }); player.getDuration(function(duration){ console.log(duration); }); if (player.supports('method', 'mute')){ player.mute(); } player.play(); }); |
Clients: Facebook Messenger, Twillio, Twitter, WebSocket :)
1 2 3 4 5 6 7 8 9 |
import Bottr from 'bottr'; let Bot = new Bottr.Bot() bot.on('message_received', (message, session) => { session.send('Hello World!') }) bot.listen() |
„Copying text to the clipboard shouldn’t be hard. It shouldn’t require dozens of steps to configure or hundreds of KBs to load. But most of all, it shouldn’t depend on Flash or any bloated framework. That’s why clipboard.js exists.“
Leaflet is the leading open-source JavaScript library for mobile-friendly interactive maps. Leaflet is designed with simplicity, performance and usability in mind. It works efficiently across all major desktop and mobile platforms, can be extended with lots of plugins, has a beautiful, easy to use and well-documented API.
Granim.js – Create fluid and interactive gradients animations with this small (< 10 kB) js library.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
<!-- Create a <canvas> element --> <canvas id="granim-canvas"></canvas> <!-- Call the script --> <script src="granim.min.js"></script> <!-- Create a Granim instance --> <script> var granimInstance = new Granim({ element: '#granim-canvas', name: 'granim', opacity: [1, 1], states : { "default-state": { gradients: [ ['#834D9B', '#D04ED6'], ['#1CD8D2', '#93EDC7'] ] } } }); </script> |
Manet is a REST API server which allows capturing screenshots of websites using various parameters. It is a good way to make sure that your websites are responsive or to make thumbnails.
A Real Time Chat Application built using Node.js, Express, Mongoose, Socket.io, Passport, & Redis.
A responsive sticky element plugin, designed to be used with Foundation, Bootstrap or your own css solution.
A d3.js heatmap representing time series data. Inspired by Github’s contribution chart.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
// chart data example var chartData = [{ date: valid Javascript date object, count: Number }]; var chart1 = calendarHeatmap() .data(chartData) .selector('#chart-one') .colorRange(['#D8E6E7', '#218380']) .tooltipEnabled(true) .onClick(function (data) { console.log('onClick callback. Data:', data); }); chart1(); // render the chart |
Nice list of tools that will make your life easier, creating meaningful and beautiful data visualizations.