Skip to content

This service allows you to use your locally installed fonts on figma.com.

License

Notifications You must be signed in to change notification settings

neetly/figma-agent-linux

Repository files navigation

Figma Agent for Linux

CI

This service allows you to use your locally installed fonts on figma.com.

Features

  • Variable fonts support
  • Preview fonts in the font picker

Installation

Important

To make this service work, you need to override the browser's user agent to a Windows one. See this thread for more information.

bash -c "$(curl -fsSL https://raw.githubusercontent.com/neetly/figma-agent-linux/main/files/install.sh)"

Tip

You can run the command again to update this service to the latest version.

Package Managers

Package Manager Package
Arch Linux figma-agent-linux / figma-agent-linux-bin
Nix figma-agent

Uninstallation

systemctl --user disable --now figma-agent.{service,socket}
rm -rf ~/.local/share/figma-agent ~/.local/share/systemd/user/figma-agent.{service,socket}

Configuration

// ~/.config/figma-agent/config.json
{
  // Default: "127.0.0.1:44950"
  "bind": "127.0.0.1:44950",
  // Default: true
  "use_system_fonts": true,
  // Default: []
  "font_directories": ["~/Fonts"],
  // Default: true
  "enable_font_rescan": true,
  // Default: true
  "enable_font_preview": true,
}

Note

You need to restart this service to apply the configuration changes.

systemctl --user restart figma-agent.service

Caveats

Ad Blockers

Ad blockers may prevent websites from connecting to localhost for privacy concerns. Please disable the relevant rules or create an exception rule for figma.com.

Brave Browser

In Brave browser, websites require special permissions to access localhost. Please follow the instructions in the documentation to grant the permission to figma.com.

Credits

This project is inspired by Figma Linux Font Helper.

About

This service allows you to use your locally installed fonts on figma.com.

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

Contributors 7