|
2 months ago | |
---|---|---|
static | 2 months ago | |
.htaccess | 2 months ago | |
LICENSE | 2 months ago | |
README.md | 2 months ago | |
index.php | 2 months ago |
We're rural, not urban.
This is a PHP port of the original Python-based Rural Dictionary - a privacy-respecting, NoJS-supporting Urban Dictionary frontend.
This PHP version maintains feature parity with the original Python implementation while offering:
Just like the original, this frontend supports all Urban Dictionary features including:
Clone repository:
git clone https://git.qunn.eu/poesty/rural-dict.git
cd rural-dict
git checkout php-port
Make sure mod_rewrite is enabled and use the included .htaccess file:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [QSA,L]
Add this to your server configuration:
location / {
try_files $uri $uri/ /index.php?$args;
}
.
├── index.php # Main application file
├── .htaccess # Apache configuration
└── static/ # Static assets
├── css/
│ └── main.css
└── img/
├── favicon.png
└── logo.png
To use Rural Dictionary, simply replace an Urban Dictionary URL with a Rural Dictionary URL. You can use browser extensions like Redirector for automatic redirection.
For example, change:
https://urbandictionary.com/define.php?term=kin
to:
https://your-instance.com/define.php?term=kin
This project is licensed under the AGPLv3+ license - see the LICENSE file for details.
For support and discussions about the original Rural Dictionary, join their Matrix room.
For issues specific to this PHP port, please use the issue tracker.