开源软件名称(OpenSource Name):wereturtle/ghostwriter开源软件地址(OpenSource Url):https://github.com/wereturtle/ghostwriter开源编程语言(OpenSource Language):C++ 96.1%开源软件介绍(OpenSource Introduction):ghostwriterghostwriter is a Windows and Linux text editor for Markdown, which is a plain text markup format created by John Gruber. For more information about Markdown, please visit John Gruber’s website at http://www.daringfireball.net. ghostwriter provides a relaxing, distraction-free writing environment, whether your masterpiece be that next blog post, your school paper, or your NaNoWriMo novel. For a tour of its features, please visit the ghostwriter project page. ScreenshotsYou can view screenshots of the application at ghostwriter's project page. DocumentationA quick reference guide is available here. ghostwriter also has a community wiki here. You can read up on help topics or contribute your own. InstallationWindowsOn Windows, you can either download the setup.exe and go through the setup wizard (recommended), or you can run the portable version (advanced users). To install via the setup wizard, download The portable version is a zip file which you can unzip to any location on your computer. Within the zip file is a simple folder containing the LinuxIf you are running Ubuntu or one of its derivatives (Linux Mint, Xubuntu, etc.), open a terminal, and enter the following commands:
There is also now a staging PPA for release candidate builds for advanced users who wish to test drive the latest features/fixes. To install the latest release candidate, enter the following commands from a terminal:
Fedora users can install ghostwriter from Copr by opening a terminal and entering the following commands:
There is likewise a staging repository for Copr, where the latest release candidate can be installed with the following commands:
Finally, you may follow the build instructions below to install on Linux with the latest source code. MacOSYou can download an application bundle for MacOS and copy it under /Applications (for all the users) or $HOME/Applications (for the current user). That application should work on osx 10.10+, but was tested only on macOS 10.13. Please remember that this build is experimental and you'll find some bugs. Please report those on the issue tracker. BuildIf you wish to build from the source code, you will need Qt 5, available from http://www.qt.io/ if you are on Windows, or in your Linux distribution's repository. If you are on MacOS you will need the latest Qt 5 from brew. This documentation assumes you already have the source code unzipped in a folder. WindowsBuilding on Windows requires Visual Studio. Open a terminal window, and enter the following commands:
Unless you have built ghostwriter as a standalone executable statically linked to your own build of Qt's source code, you will need to copy the necessary Qt and Windows .dll files to the same location as LinuxBefore proceeding, ensure that you have the necessary packages installed for Qt 5. For Debian or Ubuntu distributions:
For Fedora:
For other Linux flavors, the list will be similar; Next, open a terminal window, and enter the following commands:
The last command will install ghostwriter on your machine. If you need to install the application in an alternative location to
For example, to install under
Note: If you see blank areas where there should be icons, then you are missing the Qt dependency for the SVG images. On Debian and Ubuntu, this is libqt5svg5. Other Linux distributions may vary on the exact package name. MacOS
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew install qt5 Note: If you installed XCode command line tools, Qt will fail building the application with an error like
brew link qt5 --force Note: This command allows you to use
git clone https://github.com/wereturtle/ghostwriter
cd ghostwriter
qmake
make Make sure you're cloned the repo, not just downloaded the src tarball.
$ sudo cp -R ./build/release/ghostwriter.app /Applications
$ sudo ln -s /Applications/ghostwriter.app/Contents/MacOS/ghostwriter /usr/local/bin FreeBSDPrerequisites
Install the dependencies
You will also need to install QtWebEngine Get the sources
Build
Command Line UsageFor terminal users, ghostwriter can be run from the command line. In your terminal window, simply type the following:
where Portable ModeYou can download the Windows Portable version of ghostwriter, or make your own on any OS. Simply create a folder named
Note: The MacOS settings location needs to be confirmed. A full sample application path would also be helpful (instead of listing Additional Markdown Processorsghostwriter has built-in support for the cmark-gfm processor. However, it also can auto-detect Pandoc, MultiMarkdown, or cmark processors. To use any or all of the latter three, simply install them and ensure that their installation locations are added to your system's ContributePlease submit any bugs you find through GitHub with a detailed description on how to replicate the problem. New translations are also welcome. However, please note that new feature requests are no longer being accepted. Please read the contributing guide for further details before reporting an issue or submitting a pull request. Please also consider volunteering for one of the tasks listed on the website here. LicensingThe source code for ghostwriter is licensed under the GNU General Public License Version 3. However, various icons and third-party FOSS code (i.e., Hunspell and cmark-gfm) have different licenses compatible with GPLv3. Please read the COPYING files in the respective folders for the different licenses. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论