![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Jibe: be in accord; agree. A modern, lightweight, collaborative editing environment
A modern, lightweight, collaborative editing environment.
npm install
npm start
Jibe requires RethinkDB for data persistance.
If you do not have a RethinkDB server available, you can easily install it locally or use the Docker image:
docker pull rethinkdb
docker run -d -p 8080:8080 -p 28015:28015 -p 29015:29015 rethinkdb
Now, browse to RethinkDB's Tables tab and create a new database called 'jibe'.
npm install --save VisionistInc/jibe
Require jibe within your express app.
var app = require('express')(),
server = require('http').createServer(app),
io = require('socket.io').listen(server),
jibe = require('jibe')();
// initialize jibe
app.use('/path/to/jibe', jibe.router(io));
app.use(jibe.browserChannelMiddleware);
server.listen (3000, function () {
console.info ('Server listening at port 3000');
});
When jibe is require
-ed, it is possible to pass in configuration options for connecting to RethinkDB. For example, the snippet below will tell jibe to use the given configuration.
jibe = require('jibe')({
config: {
"rethinkdb": {
"host": "127.0.0.1",
"port": 28015,
"db": "jibe"
}
}
});
If no options are provided, jibe will use one of the configurations in lib/config/env
based on the process.env.NODE_ENV
environment variable.
Currently, the client-side constructor offers a few configuration options. Defaults are provided for each option, so none are required.
$('#jibe-container').jibe ({
defaultText: "# Welcome to {{room}}\n\n\n",
placeholder: "This is a configurable placeholder, type your text here...",
template: "templates/editor.html"
});
defaultText
option sets the initial text for a document that does not exist at the time it is requested by the client. The name of the current room will replace all instances of the pattern {{room}}
.placeholder
option sets the text that is displayed when the document contains no text (just like the HTML input element's placeholder attribute).template
option allows developers to use a different layout, rather than the default one that is provided in this repository. There are some hardcoded ids that event handlers rely on, so it is easiest to start from the provided template and rearrange things from there.FAQs
Jibe: be in accord; agree. A modern, lightweight, collaborative editing environment
The npm package jibe receives a total of 5 weekly downloads. As such, jibe popularity was classified as not popular.
We found that jibe 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.