Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/WebMemex/webmemex-extension

πŸ“‡ Your digital memory extension, as a browser extension
https://github.com/WebMemex/webmemex-extension

memex webextension

Last synced: about 1 month ago
JSON representation

πŸ“‡ Your digital memory extension, as a browser extension

Awesome Lists containing this project

README

        

# WebMemex browser extension

This browser extension aspires to turn the browser into an offline-first knowledge management tool.
It can store web pages you visit on your computer by [freeze-dry][]ing them: removing scripts and
thus most interactive behaviour, but inlining all images and stylesheets to let you save the page
exactly the way you saw it.

The long-term goal is to enable you to extract quotes, create notes, and make links between things,
to really grow your personal web. Ultimately, you should be able to publish (parts of) your web to
share your knowledge with others, thus turning your browser from a *web viewer* into a *web weaver*.

It is currently tested on Firefox and Chromium. It is published [on Mozilla Addons][] (also [on
Chrome Web Store][] but it may be outdated as that repository often imposes new constraints).

[freeze-dry]: https://github.com/WebMemex/freeze-dry
[on Mozilla Addons]: https://addons.mozilla.org/en-US/firefox/addon/webmemex/
[on Chrome Web Store]: https://chrome.google.com/webstore/detail/webmemex/dmkhpphjjbjgalkmaolgngobjlmfggfg

## Contribute

Got feedback, bug fixes, new features, tips? Want to help with coding, design, or communication?
Give a shout. πŸ“’

Pop in on #webmemex on [Freenode][], send a PR or open an issue on the [GitHub repo][], or send me
([Gerben/Treora][Treora]) a message.

All code in this project is in the public domain, free from copyright restrictions. Please waive
your copyrights on any contributions you make. See e.g. [unlicense.org][] for more information.

[Freenode]: http://webchat.freenode.net/
[GitHub repo]: https://github.com/WebMemex/webmemex-extension
[Treora]: https://github.com/Treora
[unlicense.org]: https://unlicense.org/

## Hacking

See [`Codetour.md`](Codetour.md) for an explanation of the repository structure. In short, it is a
[WebExtension][] (runs on Firefox and Chrome/Chromium browsers), bundled by [browserify][], that
logs and stores pages in [PouchDB][], and provides a viewer built with [React][]+[Redux][].

### Build and run it

1. Clone this repo.
2. Get [Node/NPM][]β‰₯10.
3. Run `make` to install dependencies and compile the source files.
4. Load it in Firefox or Chromium/Chrome/Opera/Brave/…:
* In Firefox: run `npm run firefox` (or run [web-ext][] directly for more control).
Alternatively, go to `about:debugging`, choose 'Load Temporary Add-on', and pick
`extension/manifest.json` from this repo.
* In Chromium/…: go to Toolsβ†’Extensions (`about:extensions`), enable 'Developer mode',
click 'Load unpacked extension...', and pick the `extension/` folder from this repo.

### Automatic recompilation

If the steps above worked, running `npm run watch` will trigger a quick recompilation every time a
source file has been modified.

If you are testing in Firefox through `npm run firefox`/`web-ext`, the extension should also reload
automatically. Otherwise, manually press the reload button in the extension list.

[WebExtension]: https://developer.mozilla.org/en-US/Add-ons/WebExtensions
[browserify]: http://browserify.org/
[PouchDB]: https://pouchdb.com/
[React]: https://facebook.github.io/react/
[Redux]: http://redux.js.org/
[Node/NPM]: https://nodejs.org/
[web-ext]: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/web-ext_command_reference#web-ext_run