All Projects → telescopejs → Telescope

telescopejs / Telescope

Licence: mit
🔭 The service ( from Client or Server ) works for render view ( markdown / code / image... ) from fetching URL.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Telescope

Plagiarism Checker
A utility to check if a document's contents are plagiarised
Stars: ✭ 149 (-8.59%)
Mutual labels:  pdf
Documentlayoutanalysis
Document Layout Analysis resources repos for development with PdfPig.
Stars: ✭ 158 (-3.07%)
Mutual labels:  pdf
Lambda Text Extractor
AWS Lambda functions to extract text from various binary formats.
Stars: ✭ 159 (-2.45%)
Mutual labels:  pdf
Yii2 Export
A library to export server/db data in various formats (e.g. excel, html, pdf, csv etc.)
Stars: ✭ 153 (-6.13%)
Mutual labels:  pdf
Allitebooks
爬取AllITeBook网站的书籍下载链接
Stars: ✭ 157 (-3.68%)
Mutual labels:  pdf
Openbook
Open source lilypond real book for Jazz musicians
Stars: ✭ 159 (-2.45%)
Mutual labels:  pdf
Qtpdfium
Pdf Redening on Qt
Stars: ✭ 148 (-9.2%)
Mutual labels:  pdf
Pdftabextract
A set of tools for extracting tables from PDF files helping to do data mining on (OCR-processed) scanned documents.
Stars: ✭ 1,969 (+1107.98%)
Mutual labels:  pdf
Lxxyxresume
前端简历生成器
Stars: ✭ 156 (-4.29%)
Mutual labels:  pdf
Reportbro Designer
Javascript plugin to visually design report layouts (for pdf and Excel) which can be created with reportbro-lib (a Python package) on the server.
Stars: ✭ 160 (-1.84%)
Mutual labels:  pdf
Grub Btrfs
Include btrfs snapshots at boot options. (Grub menu)
Stars: ✭ 153 (-6.13%)
Mutual labels:  snapshot
Pdfanno
Linguistic Annotation and Visualization Tool for PDF Documents
Stars: ✭ 156 (-4.29%)
Mutual labels:  pdf
Report Designer
🚀 打印设计、可视化、大屏、编辑器、设计器、数据分析、报表设计、组件化、表单设计、h5页面、调查问卷、pdf生成、流程图、试卷、SVG、图形元素、物联网
Stars: ✭ 160 (-1.84%)
Mutual labels:  snapshot
Go Audio
An offline solution to convert pdfs into audiobooks
Stars: ✭ 153 (-6.13%)
Mutual labels:  pdf
Book
They are information technology related book.
Stars: ✭ 161 (-1.23%)
Mutual labels:  pdf
H5 Transfer Pdf
H5TransferPDF是一个将网页HTML渲染为PDF和各种图像格式的API工具,完美兼容HTML、CSS、JS,较好的排版支持,并支持生成多种版本的PDF。
Stars: ✭ 149 (-8.59%)
Mutual labels:  pdf
React Native Testing Example
Example of unit testing a React Native & Redux app using Jest (and Snapshots!)
Stars: ✭ 159 (-2.45%)
Mutual labels:  snapshot
Wasm Pdf
Generate PDF files with JavaScript and WASM (WebAssembly)
Stars: ✭ 163 (+0%)
Mutual labels:  pdf
Openpdf
OpenPDF is a free Java library for creating and editing PDF files with a LGPL and MPL open source license. OpenPDF is based on a fork of iText. We welcome contributions from other developers. Please feel free to submit pull-requests and bugreports to this GitHub repository. ⛺
Stars: ✭ 2,174 (+1233.74%)
Mutual labels:  pdf
Binb
Binb is not Beamer
Stars: ✭ 160 (-1.84%)
Mutual labels:  pdf

Telescope 🔭

build status Test coverage

What is telescope

Telescope is the service ( from client or server ) works for render view ( md / code / image... ) via fetching URL.
It's awesome that we can see any file on the internet. And telescope provides three ways (html/image/pdf) to display the view.
So you can write the markup as follows.

<!--https://telescopejs.github.io/ is the client side's service without any dynamic server-->
<iframe src="https://telescopejs.github.io/?q=picidaejs/picidaejs" frameborder="0" width="100%" height="400px"></iframe>

Features

  • ✈ Supports client and server side.
  • 🍻 Multiply styles.
  • 😊 The service server side supports output the view via image or pdf.
  • 🍫 The code supports specified line range.
  • 👍 More features is waiting for you to discover...

Why needs telescope

Hackernoon and Medium has the similar view via rendering gist snippet. We can use telescope service to preview or generate the image / pdf easily!

Installation

git clone https://github.com/telescopejs/telescope.git
cd telescope
# If you are in china, should set PUPPETEER_DOWNLOAD_HOST to speed the installation of puppeteer. 
PUPPETEER_DOWNLOAD_HOST=https://npm.taobao.org/mirrors npm install
# server side, default port 8002
npm start
# or client side, default port 9999
npm run client
# build the assert of client side on `public/`
npm run client:build

Meanwhile, telescope requires chrome libraries.
You should ensure the dependencies of chrome that you had installed, because I use the headless Chrome browser puppeteer to generate snapshot and pdf.

Client Side

Open http://localhost:9999 after setup the service on port 9999.

  • The accepted query string table (server side accepted too)
name type description
q string the fetching url, e.g. picidaejs/picidaejs/master/src/index.js picidaejs/picidaejs
style string the view style, please see https://telescopejs.github.io/?debug=true
hlStyle string the code's highlight style, please see https://telescopejs.github.io/?debug=true
range number|[start, end] the code's range, e.g. ?range=10 ?range=[10] ?range=[10, 20] ?range=[-20, -15]

And specially, debug=true is accepted on client side for debug.

Server Side

Temporary outside service http://23.106.151.229:8002/

  • Please try the path name below
/telescopejs/telescope
/img/telescopejs/telescope
/img/telescopejs/telescope/master/package.json?hlStyle=school-book
/pdf/telescopejs/telescope
/pdf/telescopejs/telescope/master/package.json

Customized

If you want to customize yourself own telescope, Please write your plugin or style.

License

MIT imcuttle

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].