figma-chat-server icon indicating copy to clipboard operation
figma-chat-server copied to clipboard

The server for figma-chat

moved to the monorepo https://github.com/ph1p/figma-chat

figma-chat-server

The websocket server for https://github.com/ph1p/figma-chat

How to start your own server?

Clone the repository:

git clone https://github.com/ph1p/figma-chat-server.git

and nstall all the dependencies.

npm install

run the server:

npm start

If you want to set another port, you can set the PORT environment variable.

Traefik

The simplest way to start your server, is to run it with traefik. You can find a docker-compose.yml inside this repository. The only thing you have to change is the URL and run:

docker-compose up -d

or if you want to rebuild it:

docker-compose build

Development

npm run dev # starts a server on port 3000

Set the server URL to http://127.0.0.1:3000/ inside your plugin.