Git Product home page Git Product logo

hs-toxcore's Introduction

TokTok - Toxing on Android

GSoC Project - New Tox Android Client

Up to 2016/11/10: This is a demo application showing new modern design and all the basic UI interactions. No connection, messages, audio/video calls are presented here yet.

Installation

1. Install the latest gradle-android-scala-plugin from git:

Unix:

$ git clone --depth=1 https://github.com/saturday06/gradle-android-scala-plugin
$ cd gradle-android-scala-plugin
$ ./gradlew install

Windows:

  1. Use TortoiseGIT or any other git client to clone https://github.com/saturday06/gradle-android-scala-plugin with specifying depth = 1.

  2. Use commandline to install the plugin:

cd /path-to-gradle-android-scala-plugin
gradlew.bat install

2. Pull the toktok project from git:

Unix:

$ git clone https://github.com/TokTok/toktok.git

To build .apk from commandline (files may appear in /toktok/build/outputs/apk):

$ cd toktok
$ ./gradlew build

Windows:

Use TortoiseGIT or any other git client to clone https://github.com/TokTok/toktok.git.

To build .apk from commandline (files may appear in /toktok/build/outputs/apk):

cd /path-to-toktok
gradlew.bat build

To run from Android Studio consider some requirements:

  • Android studio 2.1.2 - 2.2.2
  • Scala, SBT and Android Scala plugins installed
  • Android device with 23 API and higher (Android 6)

hs-toxcore's People

Contributors

green-sky avatar iphydf avatar jfreegman avatar jhert0 avatar neduard avatar p1r3b0k avatar robinlinden avatar zugz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hs-toxcore's Issues

Stylistic issues in the spec

This is just to record some general stylistic issues in the spec which bug me.
This list is undoubtedly incomplete.

  • The pronoun for a peer is sometimes "him". Remind me which century this is?

  • More often, it's "them", which isn't too bad, except that "themselves" is
    often used for a single peer, which is confusing. I would either use "it"
    for the peer, or use "themself".

  • Tense and modality are used inconsistently - sometimes an implementation
    "will" do something, often it "does" it, and occasionally it "should" or
    "must" do it. We should decide whether this is describing the behaviour of
    current implementations, in which case present tense "does" seems best to
    me, or whether it is defining a conforming implementation, in which case use
    of "may", "should", and "must" as in RFCs would be appropriate.

  • There should be a typographical convention for introducing a definition. I
    favour bold text, as in "A gostak is a distimmer of doshes".

  • "group", "groupchat" and "group chat" are used interchangeably; we should
    replace them all with "conference".

KBuckets node addition does not agree with c-toxcore

Currently in hs-toxcore, and also in toktok/spec, a node is added to a bucket if it is closer to the public key of the DhtState than any node already in the bucket, evicting the most distant node if necessary.

However, this in not the behaviour of c-toxcore - add_to_close() replaces the first entry in the bucket which is empty or contains a node which has timed out, failing if there is no such entry.

This is closer to the "least recently seen" eviction policy of Kademlia, and generally makes much more sense.

For the search lists, c-toxcore is in agreement that nodes closer to the searched key are preferred, and of course for them it does make sense.

The original spec by irungentoo agrees with the c-toxcore implementation.

README doesn't explain the status of the project

Hi! Currently, hs-toxcore has an almost empty README, making it hard to understand the status of hs-toxcore.

Could you please write "Work-in-Progress Haskell Tox implementation." or "Haskell Tox implementation (Alpha)" or something like that? If it's fully ready, then a small indication of that would also help readers a lot (I think)

Thanks for considering! Personally, I don't know myself, otherwise I'd write a PR.

Upgrade GHC version in tests?

GHC 7.8 is kind of old, a significant amount of the community and libraries I use have moved to 7.10.3. Does this work in 7.10.3?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.