Git Product home page Git Product logo

memex's Introduction

Live web version here

Memex is a personal knowledge base.

A bookmarks and notes tool to help with storage and overview.

Read-only and 'sever-less' for easy sharing.

Memex supports:

  • filtering
  • tags
  • images
  • notes
  • quotes
  • terms
  • links
  • author
  • files
  • projects
  • themes

To change theme simply drag a theme svg file onto the Memex webpage

More information on themes can be found here

Examples

Dev

git clone [email protected]:kormyen/memex.git

Then open memex/index.html in any web browser

Data

memex/content/data.ndtl

Stored in a human-readable, flat-file database called Indental which is made by Devine Lu Linvega

Settings

memex/content/settings.js

Setting Description
STATSNUMTAGS max limit of tags to show in menu
STATSNUMTYPE max limit of types to show in menu
LOADANIMNUM threshold number of articles in query/displayed to trigger loading animation to display
WIDEARTICLE allow wide entries (WIDE : true)
AUTOWIDETRIGGER automatically wide entry if it has more QOTE entries than this number
USEMASONRY enable masonry layout library usage
MASONRYPROGRESS masonry re-layout as images load (true), or only once all images complete (false)
ARTICLEIDBASE CSS name prefix
SHOWUPPER toggle display of upper entry element(s)
SHOWTITLE toggle display of entry title
SHOWAUTH toggle display of entry author(s)
SHOWTYPE toggle display of entry type(s)
SHOWLINK toggle display of entry link(s)
SHOWLOWER toggle display of lower entry element(s)
SHOWTAGS toggle display of entry tag(s)
SHOWPROJ toggle display of entry project(s)
SHOWNOTE toggle display of entry notes
SHOWQOTE toggle display of entry quote(s)
SHOWTERM toggle display of entry term(s)
SHOWDONE toggle display of menu done (tick/cross)
SHOWPROG toggle display of entry progress notes
SHOWIMAG toggle display of entry image
SHOWFILE toggle display of entry file(s)
SHOWOVERLAY toggle display of dark overlay shown when hovering image type entries to improve text readability

Dependencies

Thanks


Hamish MacDonald

Twitter · Home

memex's People

Contributors

alleahstar avatar joshavanier avatar kormyen avatar lcb931023 avatar tangentfoxy avatar thunderbottom avatar

Stargazers

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

Watchers

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

memex's Issues

Data.ndtl does not load completely occasionally

Will be to do with the new loading setup in main.js

    var client = new XMLHttpRequest();
    client.open('GET', FILELOCATION);
    client.overrideMimeType("text/plain");
    client.onreadystatechange = function(req, res) 
    {
      if (client.responseText.trim() != '')
      {
        client.onreadystatechange = null;
        parent.setup(client.responseText);
      }
    }
    client.send();

Maybe 'onreadystatechange' is being called multiple times (on partial load(?), then on full load) but it currently only actions the first call.

add overlay never shows

"add" seems broken, clicking on it removes the masonry layout but doesn't show the form input.

Missing file

FYI you have a file linked on your memex 12018-07-15_GoodProgrammersKnowMoreAboutFeelingsThanComputers.pdf that doesn't exist.

make left sidebar scrollable

Currently if the sidebar overflows, the overflow part gets hidden. On smaller screens this would keep user from clicking on some of the tags.

Adding overflow-y: scroll to .menu would make this section scrollable. This means having a scroll bar between sidebar and masonry view though - not very aesthetic.

On Chrome / other Chromium based browsers, we could use ::-webkit-scrollbar to style the scroll bar, and hide it with display: none. This won't work on Firefox (and probably Safari), but would work for the Electron build too.

If we want it to be scrollable and aesthetic - like Slack's sidebar scroller, for example - a 3rd party javascript library will have to be used :<

Here's the commit in my fork, for reference: dotcli@1020238

Improve ADD

  • Go back to prev query after ADD (don't clear)
  • Proper quote formatting for ADD screen
  • Clear add screen form input titles properly

Support tags with spaces

Currently the tag filtering functionality breaks when there's a space inside the tag. Would be nice to support tags with multiple words - since some concepts are difficult to condense into one English word.

Our forks have diverged by 30 something commits at this point so I'm a bit afraid to do a pull request, but here's the fix in my fork. dotcli@808df0a .

"error" on initial run

memex displays a big error after following electron instructions

npm i
npm start

Uncaught TypeError: Cannot set property 'innerHTML' of null add.js:52

this.overlay isn't being set.

screen shot 2019-01-24 at 22 46 53

Performance issues

Options:

  • Custom build faster view layout system
  • Pagination (would need search system)
  • Infinite scroll (would need search system)

Any docs?

Hi, thanks for building such a good tool! love the demo and the idea. But is there any doc about how to e.g., C(R)UD the snippet, how to edit tags etc? it'd be great without reading the code to get to use this thing! Appreciate it!

I had some (very basic) experience in Node but can't wrap up my mind. There's no way to do auth/login etc, i can see that. But i guess we can only edit the db file to add new knowledge snippet right?

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.