
Tor नेटवर्क पर .onion छिपी सेवाओं को इंडेक्स करने वाला Django-आधारित सर्च इंजन और क्रॉलर स्टैक, जो डार्क वेब सामग्री की खोज के लिए खोजने योग्य मेटाडेटा प्रदान करता है।

Ahmia, Tor अनामता नेटवर्क पर .onion डोमेन के लिए सर्च इंजन है। इसका नेतृत्व Juha Nurmi करते हैं और यह फ़िनलैंड में स्थित है। इस रिपॉज़िटरी में Ahmia सर्च इंजन द्वारा उपयोग किए जाने वाले क्रॉलर शामिल हैं।
Ahmia का नवीनतम संस्करण Python 3, Django 5 और Elasticsearch 8 के साथ बनाया गया है। एक कार्यशील Ahmia इंस्टॉलेशन बनाने के लिए आपको इन तकनीकों का ज्ञान होना आवश्यक है। Ahmia, ahmia-crawler का उपयोग करके क्रॉल करता है।
Ahmia-index इंस्टॉल और चालू होना चाहिए
pip install -r requirements.txt
यह एक सामान्य चरण है, दोनों स्थानीय (dev) और प्रोडक्शन वातावरण के लिए।
cp ahmia/example.env ahmia/.env
कृपया अपनी आवश्यकताओं के अनुसार .env में मानों को संशोधित करें। यदि आप प्रोडक्शन सेटिंग्स का उपयोग कर रहे हैं, तो आपको कम से कम postgresql क्रेडेंशियल्स निर्दिष्ट करने होंगे।
python manage.py makemigrations ahmia
python manage.py migrate
python manage.py collectstatic
/usr/local/share/ca-certificates/http_ca.crt
डेवलपमेंट सेटिंग्स डेटाबेस के रूप में sqlite का उपयोग करती हैं। डिफ़ॉल्ट सेटिंग्स बिना किसी अतिरिक्त कॉन्फ़िगरेशन के काम करनी चाहिए।
python manage.py runserver
नोट: यदि आपकी डिप्लॉयमेंट डायरेक्टरी /usr/local/lib/ahmia-site नहीं है, तो तदनुसार बदलें
# Check the confs and *.map filtering files you plan to utilise
cp *.map /etc/nginx/
cp conf/nginx/nginx.conf /etc/nginx/nginx.conf
cp conf/nginx/django-ahmia /etc/nginx/sites-enabled/django-ahmia
service nginx start
/etc/nginx/nginx.conf में worker_connections बढ़ाएँ:
events {
worker_connections 2048;
}
या तो:
bash ./bin/run-ahmia.sh
bash ./bin/run-ahmia-onion.sh
या
cp conf/gunicorn/*.service /etc/systemd/system/
systemctl daemon-reload
systemctl enable ahmia.service
systemctl status ahmia.service
systemctl enable ahmia-onion.service
systemctl status ahmia-onion.service
systemctl restart gunicorn
systemctl edit nginx
[Unit]
After=network-online.target remote-fs.target nss-lookup.target ahmia.service ahmia-onion.service
Requires=ahmia.service ahmia-onion.service
systemctl daemon-reload
systemctl cat nginx
# Every three days
40 5 */3 * * cd /usr/local/lib/ahmia-site && venv/bin/python manage.py deleteonions >> weeklydelete.log 2>&1
Ahmia 3-clause BSD लाइसेंस के अंतर्गत लाइसेंस प्राप्त है।