Giter VIP home page Giter VIP logo

anyspace's Introduction

AnySpace

AnySpace is an Open Source Social Network platform similar to MySpace circa 2005-2007, designed with self-hosting in mind. A homage to the golden era of social networking, bringing back the simplicity and charm of early social media platforms with a focus on privacy, user experience, and community

Designed to be lightweight, user-friendly, and customizable, allowing users to express themselves just like in the old days but with the peace of mind that modern security practices bring.

  • Profiles: Customizable user profiles with options for background images, music, and integrated layout support.
  • Blogging: A blogging platform for users to share thoughts, stories, and updates.
  • Messaging: Private and secure messaging between users.
  • Friends: Connect with others, manage friendship requests, and explore user profiles.
  • Groups: Create and join interest-based groups for discussions and events.
  • Customization: Extensive customization options for user profiles and blogs.

Prerequisites

  • PHP >= 5.3
  • MySQL >= 5.0 or compatible database
  • Web Server (Apache/Nginx)

Install

  1. Clone repo and transfer files to webserver. Webserver should serve files in public directory.
  2. Create database and update settings in config.php to connect to the database.
  3. Set site and domain name in config.php
  4. Navigate to http://<DOMAIN-NAME>/install.php to create the database tables and the admin user.

pfp and music folders need r/w/x permissions for the webserver user.

It's recommended to set the following in your php.ini

file_uploads = On
upload_max_filesize = 10M
post_max_size = 15M
max_execution_time = 60
max_input_time = 120
memory_limit = 128M

Admin Panel

The admin panel should not be made available to the public. The id of the admin user can be set in config.php, by default it is set to user with id 1. Future plans include multi-user access to the admin panel using a permissions system.

Features

  • Admin Panel
  • Authentication
    • Login/Logout
    • Registration
    • Password Reset
    • Email Verification
  • Blog
  • Bulletins
  • Comment System
  • Favorite Users
  • Forum
  • Friend System
  • Group System
  • Layout sharing feature
  • Private Messaging
  • Report System
  • Session Management
  • User Browser
  • User Search
  • User Profiles
  • Custom HTML/CSS Profile Layouts

Screenshot

screenshot

Project Structure

project-root/
│
├───admin/                    # Administration tools and dashboards
│
├───core/                     # Core application logic
│   ├───components/           # Shared site components
│   ├───site/                 # Site-specific functionality
│   └───tools/                # Tools and utilities
│
├───lib/                      # Libraries and dependencies
│
└───public/                   # Publicly accessible files
    │
    ├───blog/                 # Blog related files
    │   └───editor/           # Trumbowyg WYSIWIG editor components
    │       ├───langs/        # Language files for Trumbowyg
    │       └───plugins/      # Plugins for Trumbowyg 
    │
    ├───bulletins/             # Bulletins related files
    ├───docs/                  # Documentation files
    ├───forum/                 # Forum related files
    ├───groups/                # Groups related files
    ├───layouts/               # Layout related files
    ├───media/                 # User uploaded media files
    │   ├───music/             # Music files
    │   └───pfp/               # Profile picture files
    │
    └───static/                # Static assets
        ├───css/               # CSS files
        ├───icons/             # Icon files
        └───img/               # Image files

Quirks

  • Developed with PHP 5.3 compatibility in mind due to limitations of developer hardware
  • Database schema will change frequently at this stage of development. If you receive a "PDO exception" you most likely need to create the appropriate table or column.

Credits

MySpace
SpaceHey
This spacemy.xyz codebase
Trumbowyg
@wittenbrock

anyspace's People

Contributors

shrapnelnet avatar superswan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

anyspace's Issues

Consolidate CSS

my.css base.css and header.css should be combined into a single stylesheet

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.