toxcore/README.md

58 lines
2.0 KiB
Markdown
Raw Normal View History

2013-06-26 06:46:45 +08:00
Tox
2013-06-24 08:12:13 +08:00
===
2013-06-24 08:15:33 +08:00
2013-06-24 08:42:35 +08:00
Current IRC: #InsertProjectNameHere
2013-06-26 07:00:55 +08:00
on Freenode or [webchat](https://webchat.freenode.net/)
2013-06-24 08:42:35 +08:00
2013-06-24 08:15:33 +08:00
Proposal of a free as in freedom skype replacement:
2013-06-26 06:45:41 +08:00
## Basics:
2013-06-24 08:15:33 +08:00
2013-06-27 02:07:01 +08:00
UDP must be used for everything simply because you can't do hole punching with TCP (well you can but it doesn't work all the time)
2013-06-24 08:15:33 +08:00
2013-07-03 20:20:40 +08:00
Every peer is represented as a byte string (the client id) (It is the public key of the peer.). (if you want to add someone you need that id (either ask that person directly or maybe through some kind of search engine?))
2013-06-24 08:15:33 +08:00
2013-06-26 06:54:52 +08:00
Use something torrent DHT style so that peers can find the ip of the other peers when they have their id.
2013-06-24 08:15:33 +08:00
2013-07-03 20:20:40 +08:00
Once the client has the ip of that peer they start initiating a secure connection with each other.(See Crypto.)
2013-06-24 08:15:33 +08:00
2013-07-03 20:20:40 +08:00
When both peers are securely connected with the encryption they can securely exchange messages, initiate a video chat, send files, etc...
2013-06-24 08:15:33 +08:00
2013-07-03 20:20:40 +08:00
Your client stores the public keys/id of the peers used to initiate the connection (this is your contacts list)
2013-06-24 08:15:33 +08:00
## Roadmap:
2013-06-24 08:15:33 +08:00
2013-06-26 08:33:23 +08:00
1. Get our DHT working perfectly.(Done, needs large scale testing though.)
2. Reliable connection (See Lossless_UDP protocol) to other peers according to client id. (Done, see DHT_sendfiletest.c for an example)
2013-07-06 05:24:43 +08:00
3. Encryption. (Done)
4. Get a simple text only im client working perfectly. (This is where we are)
5. Streaming media
6.
2013-06-24 08:15:33 +08:00
## TODO:
2013-06-26 07:08:32 +08:00
See: [docs/TODO.txt](https://github.com/irungentoo/InsertProjectNameHere/blob/master/docs/TODO.txt)
2013-06-26 06:45:41 +08:00
### Important-stuff:
2013-06-24 08:15:33 +08:00
2013-06-26 06:54:52 +08:00
Use the same UDP socket for everything
2013-06-24 08:15:33 +08:00
2013-06-26 20:32:42 +08:00
Keep everything really simple.
### Details:
2013-06-24 08:15:33 +08:00
2013-06-26 06:54:52 +08:00
DHT protocol:
2013-06-27 07:55:34 +08:00
see: [docs/DHT.txt](/docs/DHT.txt)
2013-06-24 08:15:33 +08:00
2013-06-26 08:33:23 +08:00
Lossless UDP protocol:
Either we find one with an already working implementation (Didn't find a good implementation, writing my own)
2013-07-03 20:20:40 +08:00
see also: [docs/Lossless_UDP.txt](/docs/Lossless_UDP.txt)
Crypto:
see: [docs/Crypto.txt](/docs/Crypto.txt)
2013-07-06 09:06:46 +08:00
### Why are you doing this? There are already a bunch of free skype alternatives.
see: [docs/WHY.txt](/docs/WHY.txt)