All Projects → syuilo → summaly

syuilo / summaly

Licence: MIT License
🔍 Get a summary of any web page

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to summaly

micro-unfurl
Small microservice that unfurls a URL and returns the OpenGraph meta data
Stars: ✭ 28 (+55.56%)
Mutual labels:  mit
magento-ngrok
Magento 2 module for ngrok.io service support
Stars: ✭ 45 (+150%)
Mutual labels:  mit
mit-phd-thesis
MIT Ph.D. Thesis in LaTeX
Stars: ✭ 52 (+188.89%)
Mutual labels:  mit
magento-grid-colors
Magento 2 Grid Colors module for colorizing admin grids. Supports saving of states with the help of grid's bookmarks.
Stars: ✭ 54 (+200%)
Mutual labels:  mit
dashy
🚀 A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Stars: ✭ 7,103 (+39361.11%)
Mutual labels:  mit
documentation
Pterodactyl's documentation is open source! This repository contains the documentation for installing and updating both the panel and the daemon.
Stars: ✭ 99 (+450%)
Mutual labels:  mit
MIT OCW 6-0001-introduction-to-computer-science-and-programming-in-python-fall-2016
MIT OCW 6.0001 Introduction to Computer Science and Programming in Python
Stars: ✭ 28 (+55.56%)
Mutual labels:  mit
edX-6.00.2x-Introduction-to-Computational-Thinking-and-Data-Science
MIT edX 6.00.2x Introduction to Computational Thinking and Data Science problem sets code
Stars: ✭ 62 (+244.44%)
Mutual labels:  mit
MIT6.824-2021
4 labs + 2 challenges + 4 docs
Stars: ✭ 594 (+3200%)
Mutual labels:  mit
zork
Full C++-17 port of the 616-point version of Zork from MIT circa 1978-1981
Stars: ✭ 16 (-11.11%)
Mutual labels:  mit
My.Jdownloader-API-Python-Library
My.Jdownloader API Python Library
Stars: ✭ 65 (+261.11%)
Mutual labels:  mit
Nancy
Lightweight, low-ceremony, framework for building HTTP based services on .Net and Mono
Stars: ✭ 7,170 (+39733.33%)
Mutual labels:  mit
loopback-component-migrate
Migration framework for loopback
Stars: ✭ 43 (+138.89%)
Mutual labels:  mit
which-licenses-i-have
📝 Learn about the licenses around your package
Stars: ✭ 29 (+61.11%)
Mutual labels:  mit
lectures and talks
Collection of lectures and talks I've given on Computer Vision and Deep Learning
Stars: ✭ 29 (+61.11%)
Mutual labels:  mit
Zest Framework
Core files of AlphaZ Framework
Stars: ✭ 15 (-16.67%)
Mutual labels:  mit
bullshit-detector
🔍 Chráňte vašich blízkych pred nedôveryhodným 🇸🇰 a 🇨🇿 obsahom
Stars: ✭ 24 (+33.33%)
Mutual labels:  mit
svelte-credit-card
A svelte component to render a credit card 💳
Stars: ✭ 30 (+66.67%)
Mutual labels:  mit
uuix
A tiny (<1KB) and fast UUID (v4) generator for Crystal
Stars: ✭ 17 (-5.56%)
Mutual labels:  mit
LAB
MIT IT Lab Repository
Stars: ✭ 23 (+27.78%)
Mutual labels:  mit

summaly

Greenkeeper badge

NPM

Get any web page's summary. Try it out

Installation

$ npm install summaly

Usage

summaly(url[, opts])

Options

Property Type Description Default
followRedirects boolean Whether follow redirects true
plugins plugin[] (see below) Custom plugins null

Plugin

interface IPlugin {
	test: (url: URL.Url) => boolean;
	summarize: (url: URL.Url) => Promise<Summary>;
}

Returns

A Promise of an Object that contains properties below:

Root

Property Type Description
description string The description of the web page
icon string The url of the icon of the web page
sitename string The name of the web site
thumbnail string The url of the thumbnail of the web page
player Player The player of the web page
title string The title of the web page
url string The url of the web page

Player

Property Type Description
url string The url of the player
width number The width of the player
height number The height of the player

Example

import summaly from 'summaly';

const summary = await summaly('https://www.youtube.com/watch?v=NMIEAhH_fTU');

console.log(summary); // will be ... ↓
/*
{
	title: '【楽曲試聴】「Stage Bye Stage」(歌:島村卯月、渋谷凛、本田未央)',
	icon: 'https://s.ytimg.com/yts/img/favicon-vfl8qSV2F.ico',
	description: 'http://columbia.jp/idolmaster/ 2018年7月18日発売予定 THE IDOLM@STER CINDERELLA GIRLS CG STAR LIVE Stage Bye Stage 歌:島村卯月、渋谷凛、本田未央 COCC-17495[CD1枚組] ¥1,200+税 収録内容 Tr...',
	thumbnail: 'https://i.ytimg.com/vi/NMIEAhH_fTU/maxresdefault.jpg',
	player: {
		url: 'https://www.youtube.com/embed/NMIEAhH_fTU',
		width: 1280,
		height: 720
	},
	sitename: 'YouTube',
	url: 'https://www.youtube.com/watch?v=NMIEAhH_fTU'
}
*/

Testing

npm run test

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].