tnitter -
Tnitter, a Twitter-like micro-blogging platform
Compile and execute
Make sure all the required packages are installed with: apt-get install libevent-dev libsqlite3-dev
To compile, run: make
To execute, run: bin/tnitter
The Web interface will be accessible at http://localhost:8080/
Main server
The Tnitter application is deployed with other nitcorn
projects at http://tnitter.xymus.net/
Notable implementation details
- Implemented in Nit using the
nitcorn
framework. - On the server side, besides
nitcorn
it uses the Nit modulessqlite3
,md5
andprivileges
- The client-side UI is implemented with bootstrap 3.0 and jquery 1.11
- Passwords are salted and hashed, but sent in clear text to the server
- Launches on localhost on port 80 if running as root, on 8080 otherwise
Content
- tnitter: Tnitter, a Twitter-like micro-blogging platform (contrib/tnitter)
- src (contrib/tnitter/src)
- action: View and controller of Tnitter (contrib/tnitter/src/action.nit)
- database: Database interface of Tnitter (contrib/tnitter/src/database.nit)
- model: Data and DB model of Tnitter (contrib/tnitter/src/model.nit)
- push: Tnitter support for push notifications (contrib/tnitter/src/push.nit)
- tnitter: Web server part of the Tnitter project (contrib/tnitter/src/tnitter.nit)
- tnitter_app: Tnitter minimal portable app listing the latest Tnits (contrib/tnitter/src/tnitter_app.nit)
- tnitter_app_android: Android version of the Tnitter app (contrib/tnitter/src/tnitter_app_android.nit)
- src (contrib/tnitter/src)