beFound! 0.1
A sophisticated person database based on PHP, Python and PostgreSQL by Lennart Poettering 2001.
- Features
-
- Clean web interface
- Mutt interface, for executing beFound-queries from within mutt
- Weekly birthday-reminder using cron
- Prerequisites
-
- Working PHP-enabled web server
- Working PostgreSQL 7.x database
- For the mutt-interface you need:
- mutt >= 1.2
- python >= 2.0
- PyPgSQL Python2-module for postgresql-database-access
- For the weekly birthday reminder you need:
- cron
- python >= 2.0
- PyPgSQL Python2-module for postgresql-database-access
Installation:
- You have to create a database for beFound! by importing befound.sql and befound-funcs.sql into PostgreSQL.
- You should copy all PHP-files of the distribution into a directory of your web server, which interpretes PHP-codes.
- You should edit befound.inc.php to reflect the database connection
(user, database, and so on) you want to use. (It would be a good
idea, if you'd create a new PostgreSQL user for the beFound! system.)
(No, you won't be able to use the default-password stored in that file to connect to my personal befound-database. Forget it.)
- The web part should work now. To get the mutt-connectivity to work you should edit befound-mutt.py and adjust the database connection parameters like you already did in the PHP sources.
- Than edit your muttrc and include the following line:
set query_command = "$HOME/path/to/befound/befound-mutt.py '%s'"
Than you will be able to do a befound-query from within
- For the weekly birthday remainder you should edit the befound-birthday.py scripts to match you database connection parameters like you did for python-mutt.py.
- Than edit your crontab. (via crontab -e) and put a line like to
following in it:
@weekly $HOME/path/to/befound/befound-birthday.py | mail -s "Birthdays in the Next 14 Days" lennart
- That's it.
- Development
As you probably noticed beFound! is not documented very well in source. beFound! is not much more than a privately used address-book, developed because all existing ones had a very bad design. Because I thought that other people could be interested in it as well, I open sourced it, hoping that other people would join development and enhance the application. Feel free to make patches and adjust the program to you wishes, as beFound! is free software licensed under GPL.
Most of the in-source comments are german, as this is my native tongue. The webinterface is english.
8/25/2001, Lennart Poettering <lennart@poettering.de>, Hamburg
