about summary refs log tree commit diff homepage
path: root/works.md
blob: 2f1712d8a080cacb3c089bb5130721166360284a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
+++
title = "Free Software Works"
hascode = true
rss = "Listing of McSinyx past and current works"
+++
@def tags = ["software"]

# Free Software Works

\toc

## Applications

### comp

[Curses Omni Media Player][comp] is a [mpv][] front-end using curses.

![comp screenshot](/assets/comp.png)

It has basic media player functions and can to extract playlists
from multiple sources such as media sites supported by [youtube-dl][],
local and direct URL to video/audio and its own JSON playlist format.

[comp]: https://pypi.org/project/comp
[mpv]:  https://mpv.io
[youtube-dl]: https://youtube-dl.org

### pip

[pip][] is a package installer for Python.  [Summer 2020][],
I worked as an intern trying improve its new resolver's networking performance.
The final result was not quite satisfying, but I got to meet some really
nice and talented people (-;

[pip]: https://pip.pypa.io
[Summer 2020]: /gsoc2020

## Libraries

### Palace

[Pythonic Audio Library and Codecs Environment][palace] provides
common higher-level API for audio rendering using OpenAL:

* 3D positional rendering, with [HRTF][] support for stereo systems
* Environmental effects: reverb, atmospheric air absorption,
  sound occlusion and obstruction
* Out-of-the-box codec support: FLAC, MP3, Ogg Vorbis, Opus, WAV, AIFF, etc.

Palace wraps around the C++ interface [alure][] using [Cython][] for a safe and
convenient interface with type hinting, data descriptors and context managers,
following {{pep 8 naming-conventions}} (`PascalCase.snake_case`).

[palace]: https://mcsinyx.gitlab.io/palace
[HRTF]: https://en.wikipedia.org/wiki/Head-related_transfer_function
[alure]: https://github.com/kcat/alure
[Cython]: https://cython.org

### Lazip

[Lazip][] is a Python library providing a read-only file-like object
lazily mapped to a ZIP file over HTTP via range requests.

[Lazip]: https://sr.ht/~cnx/lazip

## Video Games

### Brutal Maze

[Brutal Maze][] is a thrilling shoot ‘em up game with minimalist art style.

![Brutal Maze screenshot](/assets/brutalmaze.png)

The game features a trigon trapped in an infinite maze.  As our hero tries
to escape, the maze's border turns into aggressive squares trying to stop per.
Your job is to help the trigon fight against those evil squares and find
a way out (if there is any).  Be aware that the more get killed,
the more will show up and our hero will get weaker when wounded.

[Brutal Maze]: https://brutalmaze.rtfd.io

### Axuy

[Axuy][] is a mininalist peer-to-peer first-person shooter.

![Axuy screenshot](/assets/axuy.png)

It is a WIP game for me to experiment with various concepts
in P2P networking as well as 3D game development.

[Axuy]: https://www.youtube.com/playlist?list=PLAA9fHINq3sayfxEyZSF2D_rMgDZGyL3N

### Slacker

[Slacker][] is a clone/parody of the popular arcade game [Stacker][].

[Slacker]: https://pypi.org/project/slacker-game
[Stacker]: https://en.wikipedia.org/wiki/Stacker_(arcade_game)

## Plugins

### Vicious

[Vicious][] is a modular widget library for window managers, but mostly catering
to users of the [awesome window manager][].  It was derived from the old
*wicked* widget library, and has some of the old *wicked* widget types,
a few of them rewritten, and a good number of new ones.

Vicious widget types are a framework for creating your own widgets.
Vicious contains modules that gather data about your system,
and a few *awesome* helper functions that make it easier to register timers,
suspend widgets and so on.  Vicious doesn't depend on any third party [Lua][]
library, but may depend on additional system utilities.

[Vicious]: https://vicious.rtfd.io
[awesome window manager]: https://awesomewm.org
[Lua]: https://www.lua.org

### Alful

[Alful][] is a six-line extension making Firefox Quantum open all windows
in fullscreen to hide the toolbars in windowed mode
(`full-screen-api.ignore-widgets = true`).  All credits go to tazeat,
who wrote the original version and suggested the change
[to achieve the current behavior][alful patch].

[Alful]: https://addons.mozilla.org/en-US/firefox/addon/alful
[alful patch]: https://github.com/tazeat/AutoFullscreen/issues/4#issuecomment-509723353

### vim-octave

I am maintaining [Octave syntax and indentation support for Vim][vim-octave].

[vim-octave]: https://github.com/McSinyx/vim-octave

## Localizations

### Simplified Vietnamese Keymaps

I am the author of the [simplified Telex and VNI keymaps][tevnex]
for [Vim][vim-tevnex] and [ibus-table][].

[tevnex]: https://github.com/McSinyx/ibus-table-vietnamese#phương-thức-gõ
[vim-tevnex]: https://github.com/vim/vim/commit/a02a551
[ibus-table]: https://github.com/moebiuscurve/ibus-table-others/commit/b6fafd0

### Vietnamese Translation of Flare

I have translated the [Free/Libre Action Roleplaying Engine][flare] \(yep,
just the engine) to Vietnamese.  The translation of the [Empyrean Campaign][]
is work in progress---admittedly it does not get enough priority lately.

[flare]: https://flarerpg.org
[Empyrean Campaign]: https://flarerpg.org/index.php/mods/flare-empyrean

## Themes

### Add-Waiter

Add-Waiter is a [GTK+ 2][add-waiter-gtk2] and [xfwm4][add-waiter-xfwm4] clone
of the dark variant of the default GTK+ 3 theme [Adwaita][].  It was created
using screenshots of the original theme on GTK+ 3.16.

![Add-Waiter screenshot](/assets/add-waiter.png)

The theme was released under GPLv2+, although after the redesign
of openDesktop.org, such information is no longer available on the website.

[add-waiter-gtk2]: https://www.opendesktop.org/p/1078597
[add-waiter-xfwm4]: https://www.opendesktop.org/p/1016170
[Adwaita]: https://blogs.gnome.org/mclasen/2014/06/13/a-new-default-theme-for-gtk/

### MathieWD

[MathieWD][] is a flat and clean xfwm4 theme that uses colors from
the active GTK+ theme.  It is inspired by elementary mathematical symbols.

![MathieWD screenshot](/assets/mathiewd.png)

The theme was released under GPLv2+, although after the redesign of
openDesktop.org, such information is no longer available on the website.

[MathieWD]: https://www.opendesktop.org/p/1016294

### Miscellaneous

Other themes and configurations are cooperated into my personal [dotfiles][].

[dotfiles]: https://git.sr.ht/~cnx/dotfiles