GithubHelp home page GithubHelp logo

1j01 / diverge Goto Github PK

View Code? Open in Web Editor NEW
14.0 3.0 0.0 1.58 MB

๐Ÿ”ฑ explore textual possibilities like never before

Home Page: https://1j01.github.io/diverge/

License: MIT License

HTML 4.61% JavaScript 95.39%
text text-editor text-based exploration explorer explore exploratory words sentence sentences

diverge's Introduction

Diverge

The medium is the message.

Diverge at any and every letter.

This project is mostly just an idea so far.

But check out the beginnings.

Paths

You'll be able to forge a path by typing, or follow suggested paths via mouse/pen/touch/whatever (or Tab on the keyboard).

Currently you can only use the keyboard, and to follow a suggested path, you have to type it out.

Similar paths that don't quite match could be lined up "magnetically"

Here's some crude ASCII-art to try to communicate the idea:

The quick fox jumped at the opportunity
The qui   fox jumps     the
       c n         over     lazy dog
      k   w
       bro

Providers

Providers can look at the path you're on and the cursor position and suggest new paths.

The basic provider returns paths from a database of strings entered by users.

A Markov text chain or sentence autocomplete provider would return paths with text inserted at the cursor, whereas a paraphrasing provider (possibly using a neural network?) could return strings with infix replacements, making for paths that diverge and rejoin the current path.

Evaluators

Do you value rhyme, alliteration, assonance? Are fifthglyphs vile & evil, or good, top notch stuff?

Arbitrary writing constraints and softer nudges can be interesting instruments of creativity.

Evaluators can be combined and weighted.

Communities

i think it could be a really cool unique social experience

branching off of each other's writing

sharing in the constraints for creative writing with a consistency across the collaboration

a natural medium for nonlinear stories

I don't know what would work best for the granularity and structure, but it could have communities with independent moderation and rules, similar to Reddit, and pages with seed texts... and then maybe special rules could be applied to certain pages, possibly based on tags... and maybe some tags could only be set by moderators and some could be set by anyone...

A simpler model could be that there are just pages with seed text and rules set initially by a user.

Either way, there'd be links, of course.

Long-form writing

An alternate (maybe not exclusive) direction for this project to take could be towards longer-form writing like articles and even books. In that case it should work inline, and it would be more focused on editing, rather than pure exploration. I think this is less interesting for now.

See also

Development

I'm using Create React App for the webpack + dev server setup, even tho i'm not using React.

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the docs about running tests for more information.

npm run build

Builds the app for production to the build folder.

The build is minified and the filenames include the hashes.

npm run deploy

Builds, and then pushes to gh-pages

License

MIT licensed. See LICENSE.txt for details.

diverge's People

Contributors

1j01 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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