datavorous / NoHushSource

4chan without moderation. NoHush is a distraction free platform designed to allow anonymous unrestricted expression.

Home Page:https://nohush.pythonanywhere.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NoHush Logo

We're so Retro, We're almost Futuristic.

Python version Flask version

NoHush is an open-source platform designed to facilitate anonymous unrestricted expression while (hopefully) maintaining a respectful and engaging environment. Built with Flask and modern web technologies, NoHush aims to provide a space for meaningful discussions on various topics.

🌟 Features

  • Topic-based discussions
  • User-friendly interface
  • Real-time comment system
  • Responsive design for mobile and desktop
  • Dark mode support

πŸš€ Getting Started

Prerequisites

  • Python 3.8+
  • pip

Installation

  1. Clone the repository:

    git clone https://github.com/datavorous/nohushsource.git
    
  2. Install dependencies:

  3. Set up environment variables:

  4. Run the application:

    python app.py
    

Visit http://localhost:5000 in your browser to see NoHush in action!

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

πŸ“ TODO List

Help us improve NoHush by contributing to these areas:

πŸ”’ Security Enhancements

  • Implement proper user authentication system
  • Use environment variables for sensitive information (e.g., secret keys, API tokens)
  • Add input validation and sanitization to prevent XSS attacks
  • Implement CSRF protection for all forms
  • Set up proper session management

πŸ—οΈ Code Structure and Quality

  • Refactor code to follow MVC (Model-View-Controller) pattern
  • Separate routes, models, and utility functions into different files
  • Create a configuration file for app settings
  • Implement comprehensive error handling and logging
  • Add type hints to improve code readability and maintainability
  • Write unit tests for functions and routes

πŸ’Ύ Data Management

  • Migrate from JSON file to a proper database (e.g., PostgreSQL, MongoDB)
  • Implement data validation and constraints
  • Set up database migrations for version control of database schema

πŸš€ Performance Optimization

  • Implement pagination for posts and comments
  • Add caching mechanisms to reduce database queries
  • Optimize database queries and indexing
  • Implement lazy loading for images and comments

🎨 User Experience Improvements

  • Create a more intuitive and visually appealing UI design
  • Add proper error messages and flash messages for user feedback
  • Ensure proper color contrast for all text elements
  • Implement a voting system for posts and comments
  • Create a moderation system for reported content
  • Add support for rich text formatting in posts and comments

πŸ“š Documentation

  • Write comprehensive API documentation
  • Create a user guide for new users
  • Document the project's architecture and design decisions
  • Add inline code comments to explain complex logic

Feel free to tackle any of these tasks or suggest new improvements! We appreciate all contributions, big or small.

πŸ“„ License

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

πŸ™ Acknowledgements


About

4chan without moderation. NoHush is a distraction free platform designed to allow anonymous unrestricted expression.

https://nohush.pythonanywhere.com/


Languages

Language:HTML 53.4%Language:Python 25.8%Language:CSS 20.8%