An Open-Source JavaScript Implementation of Bionic Reading.

Overview

TextVide (vide; Latin for "see")

npm bundle size GitHub package.json version (subfolder of monorepo) changelog

ci codecov

logo

Support all languages that separate words with spaces

Try on Runkit or Online Sandbox

An Open-Source JavaScript Implementation of Bionic Reading API.

💫 Features

Feature State
HTML Mode
Markdown Mode
Custom HTML or Markdown Style
Fixation-Points
Saccade #21

⚙️ Install

npm i text-vide
yarn add text-vide
pnpm add text-vide

📖 Usage

ESM (Browser)

import { textVide } from 'text-vide';

const text =
  'Bionic Reading is a new method facilitating the reading process by guiding the eyes through text with artificial fixation points. As a result, the reader is only focusing on the highlighted initial letters and lets the brain center complete the word. In a digital world dominated by shallow forms of reading, Bionic Reading aims to encourage a more in-depth reading and understanding of written content.';

const highlightedText = textVide(text);

console.log(highlightedText); // 'Bionic Reading ... written content.'

CommonJS (NodeJS)

const { textVide } = require('text-vide');

const text =
  'Bionic Reading is a new method facilitating the reading process by guiding the eyes through text with artificial fixation points. As a result, the reader is only focusing on the highlighted initial letters and lets the brain center complete the word. In a digital world dominated by shallow forms of reading, Bionic Reading aims to encourage a more in-depth reading and understanding of written content.';

const highlightedText = textVide(text);

console.log(highlightedText); // 'Bionic Reading ... written content.'

📚 API

textVide(text: string, options?: Options)

textVide('text-vide');
textVide('text-vide', {
  // ... Options
});

Options

type Options = Partial<{
  sep: string | string[];
  fixationPoint: number;
}>;

sep

  • Default Value: ['', '']

Passing a string allows you to specify the Beginning and End of the highlighted word at once.

textVide('text-vide', '**'); // '**tex**t-**vid**e'

It can also set them up by passing a list of length 2.

textVide('text-vide', ['', '']); // 'text-vide'

fixationPoint

  • Default Value: 1
  • Range: [1, 5]
// Default fixation-point: 1
textVide('text-vide'); // 'text-vide'

// Changed fixation-point: 5
textVide('text-vide', { fixationPoint: 5 }); // 'text-vide'

License

MIT @Gumball12

You might also like...

This is a project for open source enthusiast who want to contribute to open source in this hacktoberfest 2022. 💻 🎯🚀

This is a project for open source enthusiast who want to contribute to open source in this hacktoberfest 2022.  💻 🎯🚀

HACKTOBERFEST-2022-GDSC-IET-LUCKNOW Beginner-Hacktoberfest Need Your first pr for hacktoberfest 2k22 ? come on in About Participate in Hacktoberfest b

Oct 29, 2022

open-source implementation of the Turborepo custom remote cache server.

open-source implementation of the Turborepo custom remote cache server.

This project is an open-source implementation of the Turborepo custom remote cache server. If Vercel's official cache server isn't a viable option, th

Dec 30, 2022

Open-source Fallout 2 engine implementation, a revival of darkfo project

Open-source Fallout 2 engine implementation, a revival of darkfo project

Harold A post-nuclear RPG remake This is a modern reimplementation of the engine of the video game Fallout 2, as well as a personal research project i

Aug 19, 2022

Node.js module for verifying Plumo proofs and reading states based on it

plumo-verifier Node.js module for verifying Plumo proofs and reading states based on it. Plumo is a SNARK-based light client verifier for the Celo blo

Dec 15, 2022

AdsPower supports Local API, which has functions like reading and writing account configuration information, opening and closing browsers, searching for accounts.

AdsPower supports Local API, which has functions like reading and writing account configuration information, opening and closing browsers, searching for accounts. Besides, it can cooperate with Selenium and Puppeteer to execute browser operations automatically.

Dec 1, 2022

Well Read is a website for tracking your reading of long book series.

Well Read is a website for tracking your reading of long book series.

Read without losing the plot. Well Read helps you organize your notes about books you're reading, so you're never lost when starting a new volume.

Dec 15, 2022

Read without losing the plot. Well Read helps you organize your notes about books you're reading, so you're never lost when starting a new volume.

Read without losing the plot. Well Read helps you organize your notes about books you're reading, so you're never lost when starting a new volume.

Well Read Well Read is a website for tracking your reading of long book series. I made this to track how many pages I read in a session and to better

Dec 15, 2022

An Obsidian Plugin that allows to export tables from a pane in reading mode to CSV files.

Obsidian Plugin "Table to CSV Exporter" This is my very first attempt in writing a plugin for Obsidian. I didn't even know TypeScript before (but Java

Dec 27, 2022

A plugin for obsidian to focus and highlight on a specific heading in Reading mode.

A plugin for obsidian to focus and highlight on a specific heading in Reading mode.

Focus and Highlight A plugin for obsidian to focus on a specific paragraph in Reading mode. Features Focus on a specific heading and its children when

Dec 21, 2022
Releases(v1.6.0)
  • v1.6.0(Aug 6, 2022)

  • v1.5.0(Jun 4, 2022)

    What's Changed

    • Feature/26 by @Gumball12 in https://github.com/Gumball12/text-vide/pull/30
    • chore: rename package bionic-reading to text-vide by @Gumball12 in https://github.com/Gumball12/text-vide/pull/31

    Full Changelog: https://github.com/Gumball12/text-vide/compare/v1.4.0...v1.5.0

    Source code(tar.gz)
    Source code(zip)
  • v1.4.0(May 28, 2022)

    What's Changed

    • Feature/13 by @Gumball12 in https://github.com/Gumball12/bionic-reading/pull/17 (sandbox app improvements)
    • Feature/1 by @Gumball12 in https://github.com/Gumball12/bionic-reading/pull/22 (support fixation)
    • Bug/19 by @Gumball12 in https://github.com/Gumball12/bionic-reading/pull/23 (Rendered differently for Numbers)
    • fix: use br tag instead of linefeed char by @Gumball12 in https://github.com/Gumball12/bionic-reading/pull/24

    Full Changelog: https://github.com/Gumball12/bionic-reading/compare/v1.3.2...v1.4.0

    Source code(tar.gz)
    Source code(zip)
  • v1.3.2(May 27, 2022)

  • v1.3.1(May 27, 2022)

  • v1.3.0(May 27, 2022)

    What's Changed

    • Migrate/turbo by @Gumball12 in https://github.com/Gumball12/bionic-reading/pull/15
    • feat: support multiple languages by @Gumball12 in https://github.com/Gumball12/bionic-reading/pull/16

    Full Changelog: https://github.com/Gumball12/bionic-reading/compare/v1.2.3...v1.3.0

    Source code(tar.gz)
    Source code(zip)
  • v1.2.3(May 26, 2022)

  • v1.2.2(May 23, 2022)

    What's Changed

    • Bug/6 by @Gumball12 in https://github.com/Gumball12/bionic-reading/pull/8
    • Feature/4 by @Gumball12 in https://github.com/Gumball12/bionic-reading/pull/9
    • Bug/7 by @Gumball12 in https://github.com/Gumball12/bionic-reading/pull/10

    New Contributors

    • @Gumball12 made their first contribution in https://github.com/Gumball12/bionic-reading/pull/8

    Full Changelog: https://github.com/Gumball12/bionic-reading/compare/v1.2.1...v1.2.2

    Source code(tar.gz)
    Source code(zip)
  • v1.2.1(May 22, 2022)

  • v1.2.0(May 22, 2022)

  • v1.1.0(May 21, 2022)

  • v1.0.2(May 21, 2022)

  • v1.0.1(May 21, 2022)

  • v1.0.0(May 21, 2022)

Firefox Extension for Smart Reading - Bionic Reading

Smart Reader - Bionic Reading Smart Reader or Bionic reading is a way to keep our focus on the web. The fact that the beginnings of words are bolded,

Poucous 27 Dec 17, 2022
A dead-simple Bookmarklet and Chrome Extension implementation of something like Bionic Reading

What is it? Inspired by Bionic Reading, this Bookmarklet modifies a webpage to display the first half of each word in bold. Can also be installed as a

null 35 Dec 5, 2022
A simple chrome extension using Bionic Reading API.

Bionic Reading Chrome Extension A simple chrome extension using Bionic Reading API, provided by RapidAPI. ?? ?? Currently in the early stages of devel

Kwame Mintah 15 Nov 8, 2022
A simple chrome extension using Bionic Reading (BR®) API.

Bionic Speed Reader Browser Extension A simple browser extension using Bionic Reading API, provided by RapidAPI. ?? ?? Currently in the early stages o

Kwame Mintah 15 Nov 8, 2022
A Chrome Extension for Bionic Reading on ANY website!

bionic-reading A Chrome Extension for Bionic Reading on ANY website! How it works Below is a screenshot demonstrating how the extension works by boldi

Ansh 3k Jan 4, 2023
A Browser Extension for Bionic Reading on ANY website!

Jiffy Reader A Browser Extension for Bionic Reading on ANY website! How it works Below is a screenshot demonstrating how the extension works by boldin

Ansh 3k Jan 9, 2023
Reference for How to Write an Open Source JavaScript Library - https://egghead.io/series/how-to-write-an-open-source-javascript-library

Reference for How to Write an Open Source JavaScript Library The purpose of this document is to serve as a reference for: How to Write an Open Source

Sarbbottam Bandyopadhyay 175 Dec 24, 2022
A Zotero add-on that scans your Markdown reading notes, tags the associated Zotero items, and lets you open notes for the Zotero items in Obsidian.

Zotero Obsidian Citations Adds colored tags to Zotero items that have associated Markdown notes stored in an external folder. Open an associated Markd

Dae 210 Jan 4, 2023
An Open-Source Platform to certify open-source projects.

OC-Frontend This includes the frontend for Open-Certs. ?? After seeing so many open-source projects being monetized ?? without giving any recognition

Open Certs 15 Oct 23, 2022
Shikhar 4 Oct 9, 2022