Skip to content

a websockets and radiks server for Graphite

Notifications You must be signed in to change notification settings

danvln/graphite-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graphite Websockets Server

For users that choose to share files and collaborate in real-time, a websockets server is deployed and managed by Graphite. No data is ever stored and it is exclusively used to connect peers. Data is encrypted with wss encryption .

If you'd like to use your own webscokets server, this code can be deployed to the provider of your choosing, or it can be run locally.

To run the server locally, simply clone a copy to your computer, then cd into the folder in your terminal. Run npm install. Then, run node index.js to run the server.

In order for this to work with your Graphite instance, you will also have to be running a local instance of Graphite with a modified websockets endpoint. To do so, follow the instructions here to clone Graphite. Then, take the following steps:

  • Open the client/src/docs/views/editors folder
  • Open the SocketEditor file
  • Update the endpoint state vairable with your localhost url for the server or the deployed url if you have deployed the server.

About

a websockets and radiks server for Graphite

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%