Skip to content
This repository has been archived by the owner on Jun 6, 2020. It is now read-only.
/ nvweb Public archive

(work in progress) web based nv/nvalt

Notifications You must be signed in to change notification settings

bonny/nvweb

Repository files navigation

nvweb

A web based version of nv/nvalt.

Install / run

To run app locally:

  • Install node and yarn and budo globaly
  • $ yarn install
  • $ npm start

Then goto http://localhost:9966/ in your web browser.

Demo site with app

The app can be seen and tested online at nvweb.eskapism.se.

Meh, I don't wanna need to click a link, can't you just show me what it looks like?

Sure! Screenshot of the app/site/whatever-it-is:

Screenshot

Note format

	{
		// note id in indexDB
		"id": 123,
		"name": "My note.txt",
		"text": "Note text contents",
		// milliseconds since jan 1 1970, (not "unixtime" because ms, not s)
		"dateModified": 1487499066504,
		"updateFromDropboxNeeded": false // true if need to download update
		// FilesFileMetadata as described here http://dropbox.github.io/dropbox-sdk-js/global.html#FilesFileMetadata
		"dropboxMeta": {
			".tag": "file", // can also be 'deleted' or 'folder'
			"client_modified": "2017-02-18T20:33:40Z",
			"content_hash": "e3e2df7777f0b79490b4520d01febf2f081b29cff8544feefbe1b316b6aa3666",
			"id": "id:UaOSTDaN5iwAAQ3PAADanW",
			"name": "Note name.txt",
			"path_display": "/notes/My note.txt",
			"path_lower": "/notes/my note.txt",
			"rev": "54675d7a000b0ef5",
			"server_modified": "2017-02-18T20:33:45Z",
			"size": 324
		}
    }

Todo

Working on now

  • download full note data from dropbox, for notes marked as to be downloaded
  • delete notes when .tag = "deleted"

Soon

  • liten notify att den sparats lokalt + när till dropbox

  • edit/search-behavior?

    • if exact title match = edit note?
    • if no exact match = create note?
    • when searching - de-select current note?
    • create-message missing with current behavior
  • sometimes create note does not work, desktop + shortcuts seems to be the combo

  • when switching note with cmd+j/k don't focus search, keep focus on list

  • vid dropboxauth: måste ladda om för att token ska vara giltig/funka

Later

About

(work in progress) web based nv/nvalt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published