MIT License

项目介绍

liamg/darktile 是一个托管在 GitHub 上的开源项目,主要使用 Go 编写,采用 MIT License 许可证,目前获得 3.1k 个 Star、116 次 Fork。

仓库全名
liamg/darktile
开源许可证
MIT License
Star 数
3.1k
Fork 数
116
未关闭 Issue
40

README 摘要

Darktile Darktile is a GPU rendered terminal emulator designed for tiling window managers. Features GPU rendering Unicode support Variety of themes available (or build your own!) Compiled-in powerline font Works with your favourite monospaced TTF/OTF fonts Font ligatures (turn it off if you're not a ligature fan) Hints: Context-aware overlays e.g. hex colour viewer, octal permission annotation Take screenshots with…

完整内容见 GitHub 原始 README 或本页 。

常见问题

darktile 用什么语言开发?

主要使用 Go 编写,采用 MIT License 许可证,目前有 3.1k 个 Star。

darktile 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 darktile 的源码?

可以直接克隆仓库:git clone https://github.com/liamg/darktile.git,默认分支为 main;安装与运行步骤见仓库 README。

darktile 最近还在维护吗?

仓库最近一次更新为 2023年3月20日,当前有 40 个未关闭 Issue;Star 数为 3.1k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

:waning_crescent_moon: Darktile is an experimental/abandoned GPU rendered terminal emulator designed for tiling window managers.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
3365
价值分
1888
活跃状态
活跃

语言占比

Go
Makefile
Shell

Release

README

Darktile

Darktile is a GPU rendered terminal emulator designed for tiling window managers.

Demo

Features

  • GPU rendering
  • Unicode support
  • Variety of themes available (or build your own!)
  • Compiled-in powerline font
  • Works with your favourite monospaced TTF/OTF fonts
  • Font ligatures (turn it off if you’re not a ligature fan)
  • Hints: Context-aware overlays e.g. hex colour viewer, octal permission annotation
  • Take screenshots with a single key-binding
  • Sixels
  • Window transparency (0-100%)
  • Customisable cursor (most popular image formats supported)

Installation

Install dependencies:

  • xorg-dev
  • libgl1-mesa-dev

Grab a binary from the latest release, chmod +x it and place it in your $PATH.

If you’re too lazy to do the above and you like to live life on the edge, you can pipe this script to sudo:

curl -s "https://raw.githubusercontent.com/liamg/darktile/main/scripts/install.sh" | sudo bash

Configuration

Configuration files should be created in $XDG_CONFIG_HOME/darktile/ if the variable is defined, otherwise in $HOME/.config/darktile/.

If you wish, you can create an example config file as a starting point using darktile --rewrite-config.

Darktile will use sensible defaults if no config/theme files are available. The same applies when you omit settings from config/theme files, meaning it is perfectly valid to start with empty config/theme files and add to them as required to override the default behaviour.

Config File

Found in the config directory (see above) inside config.yaml.

opacity: 1.0       # Window opacity: 0.0 is fully transparent, 1.0 is fully opaque
font:
  family: ""       # Font family. Find possible values for this by running 'darktile list-fonts'
  size: 16         # Font size
  dpi: 72          # DPI
  ligatures: true  # Enable font ligatures e.g. render '≡' instead of '==='
cursor:
  image: ""        # Path to an image to render as your cursor (defaults to standard rectangular cursor)

Example Theme

Found in the config directory (see above) inside theme.yaml. You can replace this file with a symlink or any theme file from darktile-themes.

black: '#1d1f21'
red: '#cc6666'
green: '#b5bd68'
yellow: '#f0c674'
blue: '#81a2be'
magenta: '#b294bb'
cyan: '#8abeb7'
white: '#c5c8c6'
brightblack: '#666666'
brightred: '#d54e53'
brightgreen: '#b9ca4a'
brightyellow: '#e7c547'
brightblue: '#7aa6da'
brightmagenta: '#c397d8'
brightcyan: '#70c0b1'
brightwhite: '#eaeaea'
background: '#1d1f21'
foreground: '#c5c8c6'
selectionbackground: '#aa8800'
selectionforeground: '#ffffff'
cursorforeground: '#1d1f21'
cursorbackground: '#c5c8c6'

Key Bindings

Action Binding
Copy ctrl + shift + C
Paste ctrl + shift + V
Decrease font size ctrl + -
Increase font size ctrl + =
Take screenshot ctrl + shift + [
Open URL ctrl + click

FAQ

What happened to Aminal?

The name changed as a result of a near-complete rewrite of Aminal. Also, Google’s “did you mean animal?” was getting pretty annoying.

Did Darktile drop Windows/OSX support?

While the project likely won’t need much work to build on Windows/OSX, the focus is to develop Darktile for tiling window managers under Linux. If you’d like to get Darktile working for other environments, pull requests are always very welcome, especially when preceded by issues/discussion.

评论

暂无评论