- Overview
- Project Insights
- Live Demo
- Screenshots
- Features
- Models Used
- Video Explanation
- Technologies Used
- Installation & Setup
- Example Usage
- Acknowledgments
- Contact
- How to Contribute
- Contributing
- Code of Conduct
- Contribution Guidelines
- Suggestions & Feedback
- Show Your Support
- License
- Stargazers
- Forkers
- Project Admin
Spamlyser Pro is a powerful, real-time SMS spam detection platform built with Streamlit and Transformers, backed by 4 custom-trained LLM backbones DistilBERT, BERT, RoBERTa, and ALBERT. It allows users to classify SMS messages as SPAM or HAM, visualise spam distribution, and analyse risky message features with an elegant, responsive UI.
π Stars | π΄ Forks | π Issues | π Open PRs | π Closed PRs | π οΈ Languages | π₯ Contributors |
Experience Spamlyser live here:
π
- Compare performance across 4 LLM backbones (DistilBERT, BERT, RoBERTa, ALBERT)
- Trained on HuggingFaceβs
sms_spam
dataset - Real-time predictions with confidence scores
- Length, word count, digit and symbol ratio
- URL and phone number detection
- Uppercase and punctuation overuse analysis
- Flags spam indicators (e.g., URLs, ALL CAPS, exclamations, spam keywords)
- Visual threat insights for each message
- Session-based spam/ham distribution pie charts
- Model-wise classification count tracking
- Responsive dark mode toggle in sidebar for professional UI
- Unified blue theme for both dark and light modes
- Pytest-based unit testing setup (
tests/
folder) - Dockerfile and CI/CD workflow for easy deployment and automated testing
π Exciting News...
π This project is now an official part of GirlScript Summer of Code β GSSoC'25! πππ» We're thrilled to welcome contributors from all over India and beyond to collaborate, build, and grow Spamlyser! Letβs make learning and career development smarter β together! ππ¨βπ»π©βπ»
π©βπ» GSSoC is one of Indiaβs largest 3-month-long open-source programs that encourages developers of all levels to contribute to real-world projects π while learning, collaborating, and growing together. π±
π With mentorship, community support, and collaborative coding, it's the perfect platform for developers to:
- β¨ Improve their skills
- π€ Contribute to impactful projects
- π Get recognized for their work
- π Receive certificates and swag!
π I canβt wait to welcome new contributors from GSSoC 2025 to this Spamlyser project family! Let's build, learn, and grow together β one commit at a time. π₯π¨βπ»π©βπ»
Model | Repo URL | Characteristics |
---|---|---|
DistilBERT | π Link | Lightweight & Fast |
BERT | π Link | Balanced & Standard |
RoBERTa | π Link | Robust & Accurate |
ALBERT | π Link | Efficient & Compact |
For a detailed walkthrough of Spamlyser's features and how to use them, check out this video:
[Insert YouTube Video Link Here]
Tool/Library | Purpose |
---|---|
Python | Core backend |
Streamlit | Web app interface |
Transformers | Model loading and inference |
Hugging Face Hub | Model hosting & deployment |
Pandas & Plotly | Data processing & visualization |
Regex, Pathlib | Feature engineering & file handling |
Clone and run locally using Python and Streamlit.
-
Clone the repository:
git clone https://github.com/eccentriccoder01/Spamlyser.git cd Spamlyser
-
Install dependencies:
pip install -r requirements.txt
-
Run the app:
streamlit run app.py
Once the app is running, it will open in your browser at
π http://localhost:8501
Now you can try Spamlyser in a few different ways:
- Use the dropdown menu in the app.
- Pick any example message (e.g., βYou won a free prize πβ).
- Spamlyser will instantly tell you if itβs Spam or Not Spam.
- Find the text box that says βEnter your message hereβ.
- Type any message you like (e.g., βHey, are we meeting later?β).
- Hit Analyze β see the live result right away!
Want to analyze multiple messages at once?
- Click Browse files in the app.
- Select the file:
sample_data.csv
(already included in the project folder). - Spamlyser will process the entire file and show which ones are spam vs. safe.
π Youβll see results in a neat table and charts β super useful for quick testing!
β¨ Thatβs it β youβve successfully used Spamlyser!
Report bugs and issues or propose improvements through our GitHub repository's "Issues" tab.
- Firstly Star(β) the Repository
- Fork the Repository and create a new branch for any updates/changes/issue you are working on.
- Start Coding and do changes.
- Commit your changes
- Create a Pull Request which will be reviewed and suggestions would be added to improve it.
- Add Screenshots and updated website links to help us understand what changes is all about.
We welcome all contributions and suggestions! Whether it's a new feature, design improvement, or a bug fix - your voice matters π
Your insights are invaluable to us. Reach out to us team for any inquiries, feedback, or concerns.
- Thanks to all contributors of this project
- Special shoutout to GirlScript Summer of Code (GSSoCβ25) for the amazing community and support!
- Built with dedication, collaboration, and lots of chai
- Developed by Eccentric Explorer
- GitHub Issues: Report bugs or request features
- Email: Contact the maintainers for collaboration opportunities
Feel free to reach out with any questions or feedback!
We love contributions from the community! Whether it's a bug report, a new feature, or a documentation improvement, we appreciate your help.
How to Contribute
- Fork the repository and create a new branch for your changes.
- Make your changes and ensure everything is working as expected.
- Submit a pull request with a clear description of your changes.
Found a Bug?
- Check the issue tracker to see if the bug has already been reported.
- If not, open a new issue and provide as much detail as possible.
Have a Feature Idea?
- We'd love to hear it! Open an issue to discuss your idea.
We welcome contributions from developers of all skill levels! Here are some ways you can contribute:
- π Bug fixes - Help us identify and fix bugs
- β¨ New features - Suggest and implement new functionality
- π Documentation - Improve our docs and guides
- π¨ UI/UX improvements - Make the platform more user-friendly
- π§ Performance optimizations - Help make Spamlyser faster and more efficient
- π± Mobile responsiveness - Improve the mobile experience
- π Security enhancements - Help keep user data safe
Thank you to everyone who has made Spamlyser better! π
Please refer to the Code of Conduct
for details on contributing guidelines and community standards.
We love our contributors! If you'd like to help, please check out our CONTRIBUTE.md
file for guidelines.
Thank you once again to all our contributors who has contributed to Spamlyser! Your efforts are truly appreciated. ππ
See the full list of contributors and their contributions on the GitHub Contributors Graph
.

Feel free to open issues or discussions if you have any feedback, feature suggestions, or want to collaborate!

If you find Spamlyser project helpful, give it a star! β to support more such educational initiatives:
- β Starring the repository
- π¦ Sharing on social media
- π¬ Telling your friends and colleagues
- π€ Contributing to the project

This project is licensed under the MIT License - see the License
file for details.



Sagnik Chakraborty |

Role | Name | GitHub Profile | LinkedIn Profile |
---|---|---|---|
Mentor 1 | Shaanif Ahmed | shaanif-ahmed |


Open an Issue | π Star on GitHub | π Live Demo

Ready to show off your coding achievements? Get started with Spamlyser today! π