GithubHelp home page GithubHelp logo

brianschapman / not-another-text-editor Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 481 KB

Progressive web app text editor that can be installed onto your device, giving the user functionality even when offline.

License: MIT License

HTML 10.09% JavaScript 63.42% CSS 26.49%
express-js html-css-javascript node-js service-worker webpack workbox workbox-webpack-plugin

not-another-text-editor's Introduction

textual-healing

Description

Progressive web applications have been on the rise with the birth of all different kinds of technologies. Harnessing the use of service workers, Google's Workbox, browser built-in IndexedDB, and use of Manifests, I've created a text editor that can save your work while you're on the go. Utilize the syntax highlighting. Want to take it out of the browser? Feel free to download it and use it as a standalone app as well!

Table of Contents

Installation

Upon cloning down the repository, be sure to install all dependencies (Note there there are three package.json - one for the root, one for the client side, and one for the server side) by typing npm run start:dev in the terminal. Along with installing all necessary packages and plugins, this should also have webpack build our bundles. From there, you should be able to npm run start and open the newly created index.html file that is in the dist folder to see that application work in your browser.

Usage

Check out the deployed application here to try it out.

You should be able to use this text editor to jot down JavaScript notes or practice algorithms. It even has syntax highlighting! Thanks to the indexedDB database and the service workers behind the scenes, your notes should be stored and persist as you reopen the page. Don't want to leave it in the browser? hit the install button in the right-hand corner of your browser search bar and download this app as a standalone for your desktop or mobile device.

Here's a screenshot of the application in the browser:

App in browser

The installed, standalone application:

Installed Standalone App

Technologies

The following tools and plugins were used to create this application:

  • HTML/CSS/JavaScript
  • Node
  • Express
  • Webpack (Module bundling to compress our JavaScript, making it faster)
  • Babel (To convert complex JavaScript for backwards compatibility in older browsers)
  • idb (For ease of use with the built-in indexedDB)
  • HTML WebPack Plugin (Dynamically creating an index.html folder)
  • Webpack PWA Manifest (Dynamically create a manifest.json file)

License

This project has been furnished with an MIT license and parties may obtain a copy of this software for their own use. Here are some more details.

not-another-text-editor's People

Contributors

brianschapman avatar

Stargazers

 avatar

Watchers

 avatar

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.