Skip to content
forked from nitipit/appkit

Desktop application framework based on Webkit, HTML5 and Python

License

Notifications You must be signed in to change notification settings

daqing15/appkit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AppKit

Desktop application framework based on Webkit, HTML5, CSS3, Javascript and Python

Now AppKit is on it's very early state. It's developed on fedora 17 & Gnome Desktop, However, It could be compatible with Ubuntu 12.04 and so on.

"AppKit" will be a framework for desktop application powered by WebKit engine, which means we can bring web technology such as HTML5, CSS3, Javascript and Web browser engine to desktop.

The main goal for now is to focus on library API which is inspired by Flask :). Application based on AppKit should be easy to write & combined with other libraries ( Bootstrap, AngularJS, Jinja2 or whatever that you can think of :P )

Target Platforms

Linux

Installation

Use Python pip command:

$ pip install git+git://github.com/nitipit/appkit.git

Quick Start

example:

#!/usr/bin/env python

from appkit.app import App

app = App(__file__)


@app.route('^/$')
def home():
    return '<a href="/test/Hello/World/" />Link</a>'


@app.route('/test/(.+)/(.+)/')
def test(text1=None, text2=None):
    return ('<h1>' + text1 + ' ' + text2 + '</h1>', 'text/html')

app.run()

https://raw.github.com/nitipit/appkit/master/docs/1.png

https://raw.github.com/nitipit/appkit/master/docs/2.png

Application using AppKit

Markdo is a Gnome Application that use AppKit to make Gnome Application

https://raw.github.com/nitipit/markdo/master/doc/fedora-screenshot.png

About

Desktop application framework based on Webkit, HTML5 and Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published