MCPcopy Index your code
hub / github.com/Figma-Linux/figma-linux-font-helper

github.com/Figma-Linux/figma-linux-font-helper @v0.1.8

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.8 ↗ · + Follow
22 symbols 28 edges 11 files 0 documented · 0% updated 2y agov0.1.8 · 2024-03-06★ 50127 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Font Helper

Font Helper for Figma for Linux OS.

Attention!

Figma has now made a change to their web application so that the request for local fonts will not be made if your browser agent defined like the Linux version.

Install

Run this in your terminal

curl -L https://raw.githubusercontent.com/Figma-Linux/figma-linux-font-helper/master/res/install.sh | bash

How it works

Font Helper is a simple http server which responds with a list of locally installed fonts upon request from Figma client. Figma sends an HTTP request to localhost upon loading to see which local fonts are available for usage in the Figma client

How to add directories

You can modify Font Helper config file with normal user privileges. The config is a simple JSON file which is located in ~/.config/figma-linux/settings.json

nano ~/.config/figma-linux/settings.json

After that You need to restart Font Helper service to apply the changes:

systemctl --user restart figma-fonthelper.service

Where to find logs

The app put all logs into the /var/log/fonthelper directory. When Font Helper starts it create a new log file in the directory each time.

Check Font Helper service status

Just type this in terminal for check status of Font Helper:

systemctl --user status figma-fonthelper.service

Updating Font Helper

Font Helper updates automatically via figma-fonthelper-updater.service service. You don't need to update Font Helper manually by default unless you have disabled the said service

How to disable auto updates

Disable the updater systemd service:

systemctl --user stop figma-fonthelper-updater.service
systemctl --user disable ffigma-onthelper-updater.service

To enable auto update again:

systemctl --user start figma-fonthelper-updater.service
systemctl --user enable figma-fonthelper-updater.service

Check your currently installed Font Helper version

In terminal:

~/.local/share/figma-fonthelper/fonthelper -v

Core symbols most depended-on inside this repo

Shape

Function 12
Method 6
Class 4

Languages

Rust100%

Modules by API surface

src/config.rs7 symbols
src/server.rs5 symbols
src/routes/get_files.rs2 symbols
src/routes/get_file.rs2 symbols
src/utils.rs1 symbols
src/routes/any.rs1 symbols
src/main.rs1 symbols
src/log.rs1 symbols
src/args.rs1 symbols
src/app.rs1 symbols

For agents

$ claude mcp add figma-linux-font-helper \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page