thedesk/README.md

126 lines
4.5 KiB
Markdown
Raw Normal View History

2019-05-19 18:57:07 +10:00
<img src="https://thedesk.top/img/top.png" width="300" align="left">
<img src="https://thedesk.top/img/desk.png" width="150" align="right">
2019-04-25 02:10:49 +10:00
2019-05-19 18:57:07 +10:00
# TheDesk
2019-05-19 18:54:04 +10:00
2019-02-01 04:12:43 +11:00
[![Build Status](https://travis-ci.org/cutls/TheDesk.svg?branch=master)](https://travis-ci.org/cutls/TheDesk)
2019-05-19 17:39:30 +10:00
[![Crowdin](https://d322cqt584bo4o.cloudfront.net/thedesk/localized.svg)](https://translate.thedesk.top/project/thedesk)
[![Version](https://flat.badgen.net/github/release/cutls/TheDesk)](https://github.com/cutls/TheDesk/releases)
![Contributors](https://flat.badgen.net/github/contributors/cutls/TheDesk)
2018-08-05 14:35:48 +10:00
Mastodon/Misskey client for PC(Windows/Linux/macOS)
2019-05-19 19:21:54 +10:00
オープンソースSNSマストドン/MisskeyのPC向けクライアント[日本語はこちら](README_ja.md)
2019-05-19 18:38:46 +10:00
Download:[TheDesk](https://thedesk.top) [![check](https://status.cutls.com/badge/?site=thedesk.top)](https://status.cutls.com)
2018-02-18 16:43:11 +11:00
2019-05-19 19:21:54 +10:00
<a href="https://www.patreon.com/cutls"><img src="https://c5.patreon.com/external/logo/become_a_patron_button@2x.png" alt="Become a Patron!" width="160"></a>
2019-05-19 18:54:04 +10:00
![Screenshots1](https://thedesk.top/img/scr1.png)
2019-05-19 19:21:54 +10:00
## License
2018-01-28 23:22:43 +11:00
2018-11-28 03:21:23 +11:00
[GNU General Public License v3.0](https://github.com/cutls/TheDesk/blob/master/LICENSE)
2019-05-19 19:21:54 +10:00
The icon is provided under [Creative Commons BY-NC-SA](https://creativecommons.org/licenses/by-nc-sa/4.0/)
2018-11-28 03:21:23 +11:00
[Press Kit](https://dl.thedesk.top/press/TheDesk+PressKit.zip)
2019-01-27 01:26:56 +11:00
2018-11-28 03:21:23 +11:00
* [PNG](https://dl.thedesk.top/press/TheDesk.png)
* [Monotone SVG](https://dl.thedesk.top/press/TheDesk.svg)
* [ico](https://dl.thedesk.top/press/TheDesk.ico)
* [icns](https://dl.thedesk.top/press/TheDesk.icns)
2019-05-19 19:21:54 +10:00
The default sounds of notifications is provided [Creative Commons BY](https://creativecommons.org/licenses/by/4.0/)
2019-04-15 01:45:04 +10:00
2019-05-19 19:21:54 +10:00
## Terms of Use
2018-09-18 01:02:32 +10:00
2018-12-16 18:17:52 +11:00
* [利用規約(Terms of Use(ja))](https://thedesk.top/tos.html)
* [プライバシーポリシー(Privacy Policy(ja))](https://thedesk.top/priv.html)
2018-01-28 23:22:43 +11:00
2019-05-19 19:21:54 +10:00
## Language
2019-01-27 01:26:56 +11:00
* 日本語(Japanese)
2019-05-19 19:21:54 +10:00
* English
2019-05-19 19:21:54 +10:00
### Translation
2018-08-05 13:36:23 +10:00
2019-05-19 19:21:54 +10:00
Crowdin project is available! Visit: https://translate.thedesk.top
2019-06-16 21:34:41 +10:00
## Requirement and development
2018-01-28 23:22:43 +11:00
2019-05-19 19:21:54 +10:00
* Electron 4.2 or above(install yourself)
2019-01-27 01:26:56 +11:00
* electron-dl(in package.json)
* Jimp(in package.json)
* font-manager(in package.json)
* Python 2.x(install yourself)
* VisualC++(Windows)(install yourself)
* itunes-nowplaying-mac(for macOS)(in package.json)
* node-notifier(in package.json)
* sumchecker(in package.json)
* Ability to read unformated files!(install yourself)
2018-01-28 23:22:43 +11:00
2019-06-16 21:34:41 +10:00
### Run on developer mode
`npm run dev` on `app` folder.
2019-05-19 19:21:54 +10:00
## Contributors
2018-08-05 13:36:23 +10:00
2019-05-19 19:21:54 +10:00
Build for macOS
2018-08-05 13:36:23 +10:00
2019-05-19 19:21:54 +10:00
* [toneji](https://minohdon.jp/@toneji)
2018-08-05 13:36:23 +10:00
2019-05-19 19:21:54 +10:00
Build for Linux
2019-01-13 13:05:41 +11:00
2019-05-19 19:21:54 +10:00
* [popn_ja](https://popon.pptdn.jp/@popn_ja)
2019-01-13 13:05:41 +11:00
2019-05-19 19:21:54 +10:00
Fellow coder
2019-03-20 22:11:03 +11:00
2019-06-29 17:11:52 +10:00
* [kPherox](https://pl.kpherox.dev/kPherox)
2019-03-20 22:11:03 +11:00
2019-05-19 19:21:54 +10:00
## Build
```sh
git clone https://github.com/cutls/TheDesk
cd TheDesk/app
npm install
npm install --only=dev
```
2019-04-13 02:54:33 +10:00
2019-05-19 19:21:54 +10:00
### electron-builder(Recommended)
Use npm scripts.
```sh
# Build for current platform
npm run build
# Select build target
## Windows
npm run build:win
## Windows and Linux (The macOS target should run on macOS. So, this option hasn't include the build for macOS)
npm run build:all
```
2019-04-13 02:54:33 +10:00
Config is all on package.json
2019-05-19 19:21:54 +10:00
### electron-packager
2019-01-27 01:26:56 +11:00
`npm install --save-dev electron-rebuild`
2018-07-30 21:26:06 +10:00
2018-12-17 01:01:25 +11:00
Linux/macOS
`./node_modules/.bin/electron-rebuild`
Windows
`.\node_modules\.bin\electron-rebuild.cmd`
To install Python 2.x and Visual C++ for Windows, before running `npm install --save-dev electron-rebuild`
`npm install --global windows-build-tools`
2018-07-07 05:22:26 +10:00
Windows
2019-02-27 12:17:35 +11:00
`electron-packager ./app TheDesk --executable-name="TheDesk" --app-copyright="Copyright (c) TheDesk 2018 Cutls.com 2015 All Right Reserved" --win32metadata.CompanyName="TheDesk&Cutls.com" --win32metadata.FileDescription="TheDesk" --win32metadata.OriginalFilename="TheDesk" --win32metadata.InternalName="TheDesk" --win32metadata.ProductName="TheDesk" --platform=win32 --arch=all --electron-version=4.0.5 --icon=.\app\thedesk.ico --overwrite`
2018-07-07 05:22:26 +10:00
Linux
2019-02-27 12:17:35 +11:00
`electron-packager ./app TheDesk --executable-name="TheDesk" --app-copyright="Copyright (c) TheDesk 2018 Cutls.com 2015 All Right Reserved" --platform=linux --arch=x64,ia32 --electron-version=4.0.5 --overwrite`
2018-07-07 05:22:26 +10:00
macOS
2019-02-27 12:17:35 +11:00
`electron-packager ./app TheDesk --executable-name="TheDesk" --app-copyright="Copyright (c) TheDesk 2018 Cutls.com 2015 All Right Reserved" --platform=darwin --arch=all --electron-version=4.0.5 --icon=./app/icon.icns --overwrite`
2018-07-07 05:22:26 +10:00
2019-02-01 03:30:25 +11:00
## Pleroma support
Did you find a bug with Pleroma accounts?
Pleroma **does not** follow Mastodon API rules completely although Pleroma developers say so.
Please write issues to improve TheDesk affinity with Pleroma.