Skip to content

Commit

Permalink
C++ is the best language
Browse files Browse the repository at this point in the history
  • Loading branch information
bigeagle committed May 27, 2015
2 parents cfdb535 + 063817e commit d099b22
Show file tree
Hide file tree
Showing 37 changed files with 1,240 additions and 1,093 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
*.pyc
*.egg-info
/build
/win-build
/dist
__pycache__
CMakeLists.txt.user
*.swp
*~
14 changes: 14 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
cmake_minimum_required(VERSION 2.8.11)

option(ENABLE_TEST "Enable test program build" Off)

find_package(Qt4 REQUIRED)
set(CMAKE_CXX_FLAGS "-Wall --std=c++11 ${CMAKE_CXX_FLAGS}")

add_subdirectory(src)


if (ENABLE_TEST)
enable_testing()
add_subdirectory(tests)
endif (ENABLE_TEST)
35 changes: 26 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,39 @@ DanmaQ is still under development, documents might be outdated.

### Dependencies

`danmaQ` depends on `requests` and `PyQt4`, you can either install via `pip` or system package manager,
if you use Windows, please download and install python3.4 and PyQt4 manually or download binary version from
`danmaQ` depends on `Qt4` and `qjson`.

For ArchLinux, run
```
yaourt -S danmaQ
```

For Ubuntu and Debian, run
```
sudo apt-get install libqjson0
```

For Fedora, run
```
sudo dnf install qjson
```

For OpenSUSE, run
```
sudo zypper install libqjson0
```

if you use Windows, download bundled binary version from
[releases page](https://github.com/bigeagle/danmaQ/releases/).

### Use TUNA Service

First u need to create a channel, go to http://dm.tuna.moe/ and create a channel,
(let's use `ooxx` as the channel name and `passw0rd` as the password)

then run `python danmaQ.py` and fill `http://dm.tuna.moe` to server,
then run `danmaQ` and fill `http://dm.tuna.moe` to server,
and your channel name (`ooxx`) and channel password (`passw0rd)`.

You can configure font and speed by through "preference" dialog.

![](https://raw.githubusercontent.com/bigeagle/danmaQ/master/screenshots/window.png)

then open http://dm.tuna.moe/ and click to your channel page, then post.

### Self Hosted Service
Expand All @@ -34,13 +51,13 @@ Clone https://github.com/tuna/gdanmaku-server and run `webserver.py` to start a

### Installation

- **from source**: run `python setup.py install`.
- **from source**: run `mkdir build && cd build && cmake .. && make && make install`.
- **windows binary**: https://github.com/bigeagle/danmaQ/releases/
- **Arch Linux**: [AUR](https://aur.archlinux.org/packages/danmaq-git/)

## TODO

- [ ] Multi-Screen support
- [x] Multi-Screen support
- [x] Chatting
- [ ] Deb package
- [ ] RPM package
Expand Down
62 changes: 0 additions & 62 deletions cx_freeze.py

This file was deleted.

8 changes: 0 additions & 8 deletions danmaQ.py

This file was deleted.

1 change: 0 additions & 1 deletion danmaQ/__init__.py

This file was deleted.

216 changes: 0 additions & 216 deletions danmaQ/app.py

This file was deleted.

Loading

0 comments on commit d099b22

Please sign in to comment.