Django Email Obfuscator

screenshot of Django Email Obfuscator

Django template filter to protect email addresses from crawlers

Overview

The django-email-obfuscator is a Django template filter that is designed to protect email addresses from crawlers. It achieves this by encoding the email addresses with ASCII character entities, making it difficult for spambots to extract them while still rendering them readable in web browsers.

Features

  • Email obfuscation: The template filter encodes email addresses using ASCII character entities, making them difficult for spambots to crawl.
  • Readable in web browsers: The obfuscated email addresses are still readable in web browsers, ensuring that visitors can easily contact the email owners.
  • Clickable mailto links: The filter can also be used to create clickable mailto links for direct emailing.
  • Customizable link text: Users have the option to add custom link text for the mailto links.
  • Subject line support: Additionally, the filter allows users to add a subject line to the mailto links.

Summary

The django-email-obfuscator is a useful Django template filter that protects email addresses from being harvested by crawlers. It achieves this by encoding the email addresses with ASCII character entities while still rendering them readable in web browsers. The filter also provides additional features such as creating clickable mailto links with customizable link text and subject lines. This package is an effective solution to prevent spam and protect the privacy of email addresses on web pages.