Developer
Get the www.opkg.org source code
It's now possible for everyone to download the www.opkg.org source code.
You can download it and develop new features or fix some bugs. Every help is welcome!
You can get the latest snapshot running in a few simple steps:
- Set up a web server (the snapshot is optimized to run on a local LAMPP server in /opt/lampp/). You may take the one from www.apachefriends.org.
- Download the lastest snapshot:
wget http://www.opkg.org/opkgorg_snapshot_21022009.tar.gz
- Extract the archive to your server's root directory:
tar xvfz opkgorg_snapshot_*.tar.gz -C /opt/lampp/htdocs/
- Execute the whole SQL-Code in the db_export.sql file. Do this either using phpMyAdmin or the mysql command line tool.
This will create the whole database structure and fill in the needed data. Furthermore it creates the user 'opkg'.
Note: If you don't have the permissions to create new users, just edit the $db variables in the functions.php. Replace all the 'opkg' entries with an existing user/password. - Edit the file functions.php: Make the session variables on top of the file suit your needs.
- Open the opkg directory in a web browser and see if everything works: http://localhost/opkg/
- If it's not working, have a look at the functions.php file again. Maybe you also need to modify the .htaccess file (or install the ModRewrite module for apache, to get htaccess working).
The password for all database and website users is 'opkg'.
If you made changes to the code and want them to be published on www.opkg.org, please contact me. I will have a look at them and implement the changes in the main site.
Download: http://www.opkg.org/opkgorg_snapshot_21022009.tar.gz
MD5: 8d814e7cf209b7bb4b032acc768699a7
Use our API
With our new API it's easy for developers to access the information stored in our database.
You find all needed information in the api file itself.
The data is provided as XML. XML is easy to parse in every common programming langauge.
Just use Google to see how it is done in your favourite language.
You can find the API at: http://www.opkg.org/api.php






