GithubHelp home page GithubHelp logo

tentd's Introduction

tentd Build Status

tentd is an alpha implementation of a Tent Protocol server. It currently contains broken code, ugly code, many bugs, and security flaws. The code should only be used to experiment with how Tent works. Under no circumstances should the code in its current form be used for data that is supposed to be private. All of the implemented APIs are in flux, and are expected to change heavily before the Tent 1.0 release.

Requirements

TentD is written using Ruby 1.9 with Rack and Datamapper and is only tested with PostgreSQL. The code needs a few fixes to work with 1.8 and other databases.

If you have Ruby 1.9, Bundler, and PostgreSQL installed, this should get the tests running:

createdb tent_server_test
bundle install
rake

If you want to run this as a Tent server, you should use tentd-admin.

Contributions

If you want to help out with the TentD code instead of writing Tent clients and applications, here are some areas that can be worked on:

  • Fix database queries. There are a bunch of suboptimal uses of the database, and basically no indexes. Low hanging fruit would be to turn on logging while running the tests and index all the queries.
  • Add data validation/normalization.
  • Audit security.
  • Refactor. The current code was hacked together quickly and is pretty ugly.
  • Add tests. There are quite a few areas that aren't tested completely.
  • Fix tests. A lot of tests are written as integration tests and depend on the database, many would be much faster as unit tests that don't hit the database.

Please note that we are not looking for Pull Requests that make fundamental changes to how the Tent Protocol works.

Contributors

tentd's People

Contributors

danielsiders avatar jonasschneider avatar titanous avatar

Watchers

 avatar

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.