2018-04-16 21:14:24 +00:00
# Write.as GTK App
2018-12-21 18:35:49 +00:00
[](https://write.as/apps/desktop)
[](https://appcenter.elementary.io/com.github.writeas.writeas-gtk)
2018-04-16 21:14:24 +00:00
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
2018-07-19 20:28:21 +00:00
Android. It lets you compose and publish posts to [Write.as ](https://write.as/ ).
2018-04-16 21:14:24 +00:00
2018-07-19 20:28:21 +00:00
For a UI toolkit it uses GTK, and relies on the [writeas-cli ](https://github.com/writeas/writeas-cli ) for API calls and post management.
2018-04-18 01:45:35 +00:00
2018-12-17 19:57:40 +00:00
**Write.as GTK is _libre_ , not _gratis_ , software.** Please try the app free of charge, but [purchase a copy ](https://write.as/apps/linux/get ) if you continue using it.
2018-09-25 17:17:08 +00:00
## Usage
See the [User Guide ](https://code.as/writeas/writeas-gtk/src/branch/master/USER_GUIDE.md ).
2018-04-18 01:45:35 +00:00
## Installation
2018-04-18 02:00:26 +00:00
Write.as GTK uses the [Meson/Ninja ](http://mesonbuild.com/ ) build system, and as such you can install it on
2018-04-18 01:45:35 +00:00
any FreeDesktop.Org compatible system using:
2018-09-25 17:17:08 +00:00
```bash
# Install latest version of meson
# Either via pip:
pip3 install meson
# Or, if you need to build the .deb:
2024-09-17 01:42:15 +00:00
sudo apt install meson ninja-build
# You might also need some of these dependencies to successfully build the app:
sudo apt install build-essential valac libgtk-3-dev libgtksourceview-3.0-dev
2018-09-25 17:17:08 +00:00
# Build
meson build & & cd build
ninja
# Install
sudo ninja install
```
2018-04-18 01:45:35 +00:00
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
2018-04-18 02:00:26 +00:00
which integrate with certain package managers for richer presentation of apps.
2018-04-18 02:54:22 +00:00
2018-09-25 17:17:08 +00:00
Though not required for local use, Write.as GTK relies on our [command-line interface ](https://github.com/writeas/writeas-cli ) for publishing to Write.as.
Install it by downloading the [latest release ](https://github.com/writeas/writeas-cli/releases/latest ) or, with [Go (golang) ](https://golang.org ) installed, running:
```bash
go get github.com/writeas/writeas-cli/cmd/writeas
```
2018-04-18 02:54:22 +00:00
## 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.