TopGit theo dõi XX-net/twister-core trên GitHub, đã đạt 13 sao. twister core / daemon
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
twister is an experimental peer-to-peer microblogging software.
User registration and authentication is provided by a bitcoin-like network, so
it is completely distributed (does not depend on any central authority).
Post distribution uses kademlia DHT network and bittorrent-like swarms, both
are provided by libtorrent.
Both Bitcoin and libtorrent versions included here are highly patched and do
not interoperate with existing networks (on purpose).
Compiling
Please follow the instructions for your platform:
UNIX
Debian/Ubuntu
Mac OS X
Windows (untested)
According to our tests, at least 1GB of RAM is needed to compile Twister.
Alternatively, you can run Twister on an isolated Linux container, using Docker. First, install Docker on your system. Then run:
# Leave out the "sudo -E" if you added yourself to the "docker" group
sudo -E ./twister-on-docker run --remote
The above command downloads and runs a pre-built image from the Docker index. You can also build and run your own container:
sudo -E ./twister-on-docker build
sudo -E ./twister-on-docker run
License
Bitcoin is released under the terms of the MIT license. See COPYING for more
information or see http://opensource.org/licenses/MIT.
libtorrent is released under the BSD-license.
twister specific code is released under the MIT license or BSD, you choose.
(it shouldn't matter anyway, except for the "non-endorsement clause").
Development process
There is no development process defined yet.
Developers of either bitcoin or libtorrent are welcomed and will be granted
immediate write-access to the repository (a small retribution for
bastardizing their codebases).
Testing
Some security checks are disabled (temporarily) allowing multiple clients per IP.
Therefore it is possible to run multiple twisterd instances at the same machine:
Note: some features (like block generation and dht put/get) do now work unless
the network has at least two nodes, like these two instances in the example above.
Wire protocol
Bitcoin and libtorrent protocol signatures have been changed on purpose to
make twister network incompatible. This avoids the so called
"merge bug".
Bitcoin signature changed from "f9 be b4 d9" to "f0 da bb d2".
Bitcoin port changed from 8333 to 28333.
Torrent signature changed from "BitTorrent protocol" to "twister protocollll".
Torrent/DHT query changed from "y" to "z"
Torrent/DHT answer changed from "a" to "x"
Quick JSON command examples
In order to use JSON-RPC you must set user/password/port by either command
line or configuration file. This is the same as in bitcoin
except that twister config file is /home/user/.twister/twister.conf
To create a new (local) user key:
./twisterd createwalletuser myname
This command returns the secret which can be used to recreate the key in a
different computer (in order to access the account). The user should be
encouraged to make a copy of this information, either by printing, snapshoting
or even writing it down to a piece of paper.
The newly created user only exists in the local database (wallet), so
before the user is able to fully use the system (post messages), his public
key must be propagated to the network:
./twisterd sendnewusertransaction myname
The above command may take a few seconds to run, depending on your CPU. This
is normal.
These direct message IDs (max_id, since_id etc) are not related to post
numbers. The numbering is local and specific to this thread.
This function will return messages which have been successfully decrypted
upon receiving or that have been sent by this same computer. A different
computer, sharing the same account, will see the same received, but not the
same sent messages.
To setup your profile:
./twisterd dhtput myname profile s '{"fullname":"My Name","bio":"just another user","location":"nowhere","url":"twister.net.co"}' myname 1
Note: increase the revision number (the last parameter) whenever you want to
update something using dhtput.
To obtain the profile of another user:
./twisterd dhtget myfriend profile s
To obtain the full list of commands
./twisterd help
Running the web interface
First you'll need to grab the latest version of the web UI code and put it
in your twister data dir:
cd ~/.twister/
git clone https://github.com/miguelfreitas/twister-html.git ./html
(In OS X go to cd ${HOME}/Library/Application\ Support/Twister)
Next, run the twister daemon. The RPC username and password are currently
hard coded as "user" and "pwd" in the web client so you'll need to specify
them:
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/XX-net/twister-core là nguồn chính thức.
XX-net/twister-core có bao nhiêu sao?
XX-net/twister-core có 13 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/XX-net/twister-core. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
XX-net/twister-core có tag gì không?
Bản đồng bộ chưa ghi nhận topic GitHub nào cho XX-net/twister-core. GitHub topics hiển thị ở thanh bên phải trang repo — đó là nơi đáng kiểm tra nhất.
XX-net/twister-core còn đang phát triển không?
Commit gần nhất trên XX-net/twister-core là 11.6 năm trước (theo timestamp GitHub). Repo có 6 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
XX-net/twister-core viết bằng ngôn ngữ gì?
XX-net/twister-core chủ yếu viết bằng C++. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
Vẫn đang phân vân về twister-core?
Một cú bấm sẽ gửi câu hỏi kèm trang này cho AI — xem AI nói gì về twister-core.