Skip to content
HU, Pili edited this page Aug 5, 2013 · 7 revisions

UI Frameworks

snscli.py is mostly for debugging and scripting purpose. It's not convenient for end users. This page notes down some UI frameworks on different platforms.

General UI frameworks

Currently used UI frameworks

  • Tkinter: snsgui.py is built on it. It is said to be the de facto standard of GUI in Python.
  • DroidUI: SNSDroid is built on it. (SNSDroid 1.0 ).
  • Bottle: a single-file, light-weight Python web framework. SNSRouter is built on it.

Other UI frameworks you can consider

  • Kivy: it's said to be cross-platform (both PC and mobile).
  • node-webkit: it's another way to cross platform(windows,mac,linux)
  • appjs: similar to "node-webkit", use nodejs, HTML5, CSS3 to make desktop applications.

Timeline rendering libraries in JS

Note that SNSAPI's internal object is unified and JSON-serializable. This makes it easy to integrate with javascript. You can present your timeline on a static site without too much server-side programming. The use case:

  • Export JSON from SNSAPI and store it on your site.
  • Use a JS timeline library to render it.

Libraries to consider:

  • jquery-vertical-timeline. This is awesome improvement from wnyc's timeline mentioned below. Pili Hu use it for rendering his content aggregated from multiple social silos, see.
  • timelineJS. It's easy to use. The 3-step AD is good. The drawback is that the timeline only supports horizontal layout. A vertical layout may be more suitable for presenting social contents. Vertical support is unlikely to happen in this project, e.g. 1, 2.
  • timeline, see a demo. This one is vertical. Looks nice.
  • CHAP Links Library, Not specialized for timeline. It can present static timeline.
  • A review of JS timeline libraries.
Clone this wiki locally