GithubHelp home page GithubHelp logo

jzohrab / roti Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 240 KB

Small html/javascript tool to memorize poems and lyrics, per https://discover.hubpages.com/literature/How-To-Memorize-A-Poem

CSS 32.42% HTML 40.07% JavaScript 27.51%

roti's Introduction

Roti

A simple javascript/html tool for poem memorization following the ideas at https://discover.hubpages.com/literature/How-To-Memorize-A-Poem.

That page is worth reading, but here's a rough summary:

  • Read one line aloud, and then try to repeat it aloud from memory. If you succeed, go to the next line, and so on until you reach the end.
  • Starting again, read two lines, and repeat aloud. Then the next two, and so on ...
  • Repeat the process with three, four, five, and six lines.
  • Then try to do the whole thing from memory, and then take a break and sleep on it.

This project is running at https://jzohrab.github.io/roti/, courtesy of GitHub. (Thank you, GitHub.)

Development

Overview

This project uses Parcel for bundling the site.

Requirements

node - v14.16.0 npm - 6.14.11

I haven't tried other versions, but the above worked for me on my Mac.

Getting started

git clone <this repo>
cd <repo path>
npm install

# Build and start the local Parcel server
npm start

# Then go to the local address it tells you

Tests

This uses tape for tests. https://github.com/substack/tape

npm run test

Contributing

Contributions would be super if it makes this more useful/pretty/interesting.

Fork; clone; make you changes and be sure to run npm run test; PR back to main.

Deployment

To github pages

After checking the local site with npm start, we can deploy this automatically to a github pages repo by having everything deployed to docs. See ref https://www.sitepoint.com/parcel-hyperapp-github-pages/

npm run deploy builds, commits, and pushes. GH pages take a few moments to update.

Licensing

Nothing.

roti's People

Contributors

jzohrab avatar

Watchers

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