
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@onlabsorg/olowiki
Advanced tools
This is a wiki based on olojs documents. See the Zion implementation for a live demo.
(Screenshot of olowiki in view mode)
(Screenshot of olowiki in edit mode)
Olowiki can be used in two ways:
stilo run wiki
or
stilo run wiki-build
at the command lineLet's explore each of these options.
You can install olowiki as stilo plugin and use it to edit your local olojs repository in the browser. To do so, first you need to install stilo and create a document repository:
npm install -g @onlabsorg/stilo
cd /path/to/home
stilo init
Then you can add the olowiki plugin to your package:
stilo install @onlabsorg/olowiki
Once olowiki is installed, you can serve the library as follows:
stilo run wiki
You can now render and edit the olojs documents contained in /path/to/home
in the browser at http://localhost:8010/#/path/to/doc
.
An alternative way to serve your files via olo-wiki is given by the stilo plugin
command stilo run wiki-build [dir-path]
. This command will create a static
version of olo-wiki in the given directory; you can then start any static http
server in that directory and serve its content via olo-wiki.
cd /path/to/dir
stilo run wiki-build .
python -m http.server 8010
Another way to use olowiki is by creating a custom wiki server in JavaScript. First install olojs and olowiki:
npm install @onlabsorg/olojs
npm install @onlabsorg/olowiki
Then create an olojs store:
olo = require('@onlabsorg/olojs');
store = new olo.FileStore('/path/to/store/directory'); // it can be any store type, not just a FileStore
Then create and start the olowiki server:
olowiki = require('@onlabsorg/olowiki');
server = olowiki.Server(store);
server.listen(8010, () => {
console.log('oloWiki server listening on port 8010');
});
You can now render and edit the olojs documents contained in /path/to/store/directory
in the browser at http://localhost:8010/#/path/to/doc
.
This software is released under the ISC license.
FAQs
Wiki based on olojs documents
We found that @onlabsorg/olowiki demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.