data | ||
debian | ||
src | ||
.gitignore | ||
LICENSE | ||
meson.build | ||
README.md | ||
screenshot-monospace.png | ||
screenshot-sans-light.png | ||
screenshot-serif-dark.png | ||
screenshot-serif-light.png | ||
USER_GUIDE.md |
Write.as GTK App
A Write.as desktop app that targets all freedesktop.org compliant desktops, e.g. GNU/Linux, FreeBSD, etc; basically everything except Windows, Mac, iOS, and Android. It lets you compose and publish posts to Write.as.
For a UI toolkit it uses GTK, and relies on the writeas-cli for API calls and post management.
Usage
See the User Guide.
Installation
Write.as GTK uses the Meson/Ninja build system, and as such you can install it on any FreeDesktop.Org compatible system using:
# Install latest version of meson
# Either via pip:
pip3 install meson
# Or, if you need to build the .deb:
sudo add-apt-repository ppa:jonathonf/meson
sudo apt update
sudo apt install meson
# Build
meson build && cd build
ninja
# Install
sudo ninja install
This will install the executable file and the metadata required to integrate with those desktops. It also installs metadata to be collected by package repositories which integrate with certain package managers for richer presentation of apps.
Though not required for local use, Write.as GTK relies on our command-line interface for publishing to Write.as. Install it by downloading the latest release or, with Go (golang) installed, running:
go get github.com/writeas/writeas-cli/cmd/writeas
Packaging
You can package Write.as GTK for Debian/Apt-based systems by running in this repository's root directory:
dpkg-buildpackage -us -uc
This'll give you a .deb file in the parent directory.