Write.as GTK desktop app https://write.as/apps/desktop
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.7 KiB

6 years ago
6 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # Write.as GTK App
  2. A Write.as desktop app that targets all freedesktop.org compliant desktops, e.g.
  3. GNU/Linux, FreeBSD, etc; basically everything except Windows, Mac, iOS, and
  4. Android. It lets you compose and publish posts to [Write.as](https://write.as/).
  5. 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.
  6. ## Usage
  7. See the [User Guide](https://code.as/writeas/writeas-gtk/src/branch/master/USER_GUIDE.md).
  8. ## Installation
  9. Write.as GTK uses the [Meson/Ninja](http://mesonbuild.com/) build system, and as such you can install it on
  10. any FreeDesktop.Org compatible system using:
  11. ```bash
  12. # Install latest version of meson
  13. # Either via pip:
  14. pip3 install meson
  15. # Or, if you need to build the .deb:
  16. sudo add-apt-repository ppa:jonathonf/meson
  17. sudo apt update
  18. sudo apt install meson
  19. # Build
  20. meson build && cd build
  21. ninja
  22. # Install
  23. sudo ninja install
  24. ```
  25. This will install the executable file and the metadata required to integrate with
  26. those desktops. It also installs metadata to be collected by package repositories
  27. which integrate with certain package managers for richer presentation of apps.
  28. 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.
  29. Install it by downloading the [latest release](https://github.com/writeas/writeas-cli/releases/latest) or, with [Go (golang)](https://golang.org) installed, running:
  30. ```bash
  31. go get github.com/writeas/writeas-cli/cmd/writeas
  32. ```
  33. ## Packaging
  34. You can package Write.as GTK for Debian/Apt-based systems by running in this
  35. repository's root directory:
  36. dpkg-buildpackage -us -uc
  37. This'll give you a .deb file in the parent directory.