Skip to content
sadjoPublic

About

Réseau social photo et vidéo auto-hébergé, ouvert sur le fédivers : publications, stories, groupes d’abonnés et fédération ActivityPub avec Mastodon et Pixelfed. Import d’archive Instagram, publication depuis Immich ou Synology Photos, crosspost Instagram. Une image Docker, SQLite ou MariaDB, installation en une ligne.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

379 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Socialize logo

Socialize

A self-hosted photo and video social network that speaks the fediverse.
Share photos, videos and stories with the people you choose — and with Mastodon, Pixelfed and the rest of the fediverse through ActivityPub.

CI Latest release License: AGPL-3.0 PHP 8.5 Symfony 8.1 ActivityPub

Website · Documentation · Installation · Français

Socialize demo: feed, stories, post viewer and profile
▶ Watch the full demo video


Why Socialize?

Socialize gives you the familiar experience of a photo-sharing app — feed, carousels, stories, likes, comments — on a server you own. Your originals stay with you, your audience is yours to choose, and your posts can still reach friends who live on Mastodon or Pixelfed.

  • Own your memories. Originals and their metadata are kept privately; public copies are stripped of EXIF and GPS.
  • Choose your audience. Public, unlisted, followers-only, private, or custom audience groups (family, friends…).
  • Stay connected. Full ActivityPub federation, sign-in with a Mastodon account, and optional crossposting to Instagram.
  • Bring your library. Import your whole Instagram archive and publish straight from Immich or Synology Photos.
  • Easy to run. One Docker image, SQLite or MariaDB, automatic HTTPS. Installed with a single command.

Features

📸 Posts Carousels of up to 20 photos and videos, alt text, captions with hashtags and mentions, location, content warnings, 4:5 frame, full-screen viewer
⏱️ Stories 24-hour stories with text overlay, highlights on the profile (several stories at once, chosen cover), archives, viewers list
🌐 Fediverse ActivityPub (WebFinger, NodeInfo, HTTP Signatures): follow and be followed from Mastodon, Pixelfed and others
🐘 Mastodon sign-in People can use Socialize with their existing Mastodon account — no local account needed
👥 Audience groups Share a post or story with selected groups of followers only
📦 Instagram import Resumable upload of a complete archive (up to 20 GB) with original dates, carousels, EXIF and archived stories
🖼️ Photo libraries Publish from Immich or Synology Photos, Live Photos included
🎵 Free music Add Creative Commons music from Openverse to posts and stories, with credits
📤 Crossposting Publish to an Instagram professional account automatically, or share to Instagram from any device
🔔 Notifications Likes, comments, mentions and new posts, in the app and as Web Push notifications on phones and desktops
🛡️ Administration Invitations, account creation, publishing permissions, editable instance block in Markdown
🎨 Themes Light, dark and automatic themes chosen by each user; installable as a home screen app

Screenshots

Home feed
Home feed
Profile
Profile
Post with comments
Post and comments
Compose screen
Compose a post
Dark theme
Dark theme
Administration
Administration

Mobile feed Story viewer on mobile Profile on mobile

Quick start

On a Linux server with Docker and a domain name pointing to it:

curl -fsSL https://raw.githubusercontent.com/sadjo/socialize/main/install.sh | sh

The installer asks for your domain name and administrator account, generates the secrets, starts Socialize with automatic HTTPS and prints the address of your instance. Everything is stored in ~/socialize.

Options (--help for the full list):

curl -fsSL https://raw.githubusercontent.com/sadjo/socialize/main/install.sh | sh -s -- \
  --domain photos.example.org --db mariadb --email you@example.org --username you

Prefer to do it by hand? Socialize is a single image:

docker run -d --name socialize -p 80:80 -p 443:443 -p 443:443/udp \
  -e SERVER_NAME=photos.example.org -e DEFAULT_URI=https://photos.example.org \
  -e APP_SECRET="$(openssl rand -hex 32)" \
  -v socialize_data:/data -v socialize_media:/media \
  ghcr.io/sadjo/socialize:latest

See the Installation guide for Docker Compose, MariaDB, reverse proxies and upgrades, and Configuration for every setting.

Documentation

The wiki covers:

The documentation is also available in French.

Tech stack

PHP 8.5 · Symfony 8.1 · FrankenPHP (worker mode) · Doctrine ORM (SQLite or MariaDB/MySQL) · Symfony Messenger and Scheduler · Twig, Turbo, Stimulus and Live Components · libvips and ffmpeg for media.

The code is split into modules (Core, Media, Federation, Import, Crosspost, Integration, Web, Admin), each following a Domain / Application / Infrastructure layout whose boundaries are enforced by Deptrac. Quality gates: PHPStan at the maximum level, PHP-CS-Fixer, Rector and a test suite that fails on any deprecation.

Contributing

Contributions are welcome! Please read CONTRIBUTING.md and our Code of Conduct. For a local development environment you only need Docker and make:

git clone https://github.com/sadjo/socialize.git && cd socialize
make up        # http://localhost:8080
make test      # PHPUnit in parallel (ParaTest); make test-serie f=<filter> for a single test
make quality   # PHP-CS-Fixer, Rector, PHPStan, Deptrac

Security issues: see SECURITY.md.

License

Socialize is free software released under the GNU Affero General Public License v3.0. If you run a modified version of Socialize on a server, you must make its source code available to its users.

About

Réseau social photo et vidéo auto-hébergé, ouvert sur le fédivers : publications, stories, groupes d’abonnés et fédération ActivityPub avec Mastodon et Pixelfed. Import d’archive Instagram, publication depuis Immich ou Synology Photos, crosspost Instagram. Une image Docker, SQLite ou MariaDB, installation en une ligne.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages