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 2.1 KiB

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