movingbytes / social-network
The Laravel Framework.
Installs: 13
Dependents: 0
Suggesters: 0
Security: 1
Stars: 111
Watchers: 12
Forks: 53
Open Issues: 11
Type:project
Requires
- php: >=5.5
- altorouter/altorouter: ^1.1
- league/oauth2-client: ^1.3
- league/oauth2-facebook: ~1.0
- league/oauth2-google: ^1.0
- phpmailer/phpmailer: ^5.2
- textalk/websocket: ^1.2
Requires (Dev)
- phpunit/phpunit: 4.8
- dev-master
- v1.2.1
- v1.2
- v1.1
- v1.0
- dev-dependabot/npm_and_yarn/tar-4.4.19
- dev-dependabot/npm_and_yarn/url-parse-1.5.10
- dev-dependabot/npm_and_yarn/follow-redirects-1.14.8
- dev-dependabot/npm_and_yarn/ajv-6.12.6
- dev-dependabot/composer/twig/twig-2.14.11
- dev-snyk-upgrade-a32652bbc6c87f5c43a8a23e4186328c
- dev-dependabot/npm_and_yarn/color-string-1.9.0
- dev-dependabot/npm_and_yarn/path-parse-1.0.7
- dev-dependabot/npm_and_yarn/axios-0.21.2
- dev-snyk-upgrade-a90db8b7ae9bcff1392edf90236a7baa
- dev-upgrade/laravel8
- dev-snyk-upgrade-befecf0287a92f1e3a2a100ac6850fc7
- dev-snyk-upgrade-deb01cebf662eee1c84cd31851587262
- dev-snyk-upgrade-6d81daef275117c6c9a776dde8b8d10b
- dev-snyk-upgrade-5ce3b75fa07a0462ce2a5e0b5f1b5189
- dev-feature/101-Groups
- dev-hotfix/xss-task-116
- dev-snyk-upgrade-c658edb9d4b06c27dca87f07dd7c0e71
- dev-snyk-upgrade-1a317c549a374498f2239881f3f1438e
- dev-snyk-upgrade-17f6633d832e87d1f8bf863abcf33934
- dev-snyk-upgrade-fb01ab470959f06bd70c67b957c2029d
- dev-snyk-fix-5fc41abf04fcdb064994b64355feb677
- dev-snyk-upgrade-23708a4a21c4556249a4d84ab477c835
- dev-snyk-upgrade-fd59041ad3e95410bbc59223deb80551
- dev-snyk-upgrade-19e4da267e7bb3fc239598b400ceec82
- dev-snyk-upgrade-5b190c15694dba4132f0a5c1527f9dc6
- dev-snyk-upgrade-f23639f5210a6b0c2ec04babfaab20d5
- dev-snyk-upgrade-4f45b95970b4545ec06d06f2c12d5a7a
- dev-snyk-upgrade-bc09ce356aee8886c2c4164cf3fc9254
- dev-snyk-upgrade-57bbb2f4624d6368a1a627ab575ced3a
- dev-snyk-upgrade-653596b11ed144ff1c7220ad7950927e
- dev-snyk-upgrade-996896c432e8bff51e05a7158af8fb04
- dev-dev
- dev-deprecated
This package is auto-updated.
Last update: 2022-04-12 13:08:18 UTC
README
About Project
works pretty similar to a well known social network, but you can host it on your very own infrastructure. No external dependencies needed. Focus of this project is stability. security and performance.
Anouncement
On 13.02.2020 i decided to mark version 2.0 as deprecated and started to rewrite everything from scratch. At moment the master has less features than 2.0, but iam working hard to restore the most important ones. Feel free to join the development process by creating tasks (feature request) or make code improvements.
0. Demo
1. Installation
git clone https://github.com/andreas83/SocialNetwork.git
cd SocialNetwork
composer install
npm install
1.2 Configuration
Check the .env.example file for db settings
1.3 Database
This will create the db structure
php artisan migrate
1.3 Folders / Permissions
Create storage folder (symbolic link)
php artisan storage:link
Make phantomsjs executeable (needed for og tag parsing)
chmod +x bin/phantomjs
1.4 Webserver (nginx)
This is just a example configuration of our dev system
server {
server_name dev.codejungle.org;
root /var/www/dev.codejungle.org/public;
index index.html index.php;
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
}
location ~ /\.ht {
deny all;
}
location / {
try_files $uri $uri/ /index.php?$args;
}
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/dev.codejungle.org/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/dev.codejungle.org/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
server {
if ($host = dev.codejungle.org) {
return 301 https://$host$request_uri;
} # managed by Certbot
server_name dev.codejungle.org;
listen 80;
return 404; # managed by Certbot
}
2. Support
You can use the github issue tracker for bugs.
For commercial support please contact: support@moving-bytes.at
3. History
Version 1.0 (est 2008)
Version 2.0 (est 2014)
This version was a complete rewrite, build on a my very own php framework and with the help of react for frontend stuff. Sadly the frontend code became not maintainable also i made huge mistakes how the components communicate with each other.
Working features:
- Share (Websites, Images, Videos, SourceCode)
- Like / Dislike / Comments
- #hash tag search (orderd by popularity)
- @user mentions and notifications via websockets
- REST API
- Oauth2 (Facebook, Github)
- Backend with Dashboard
One side project was to visualize the related hashtags.
Another cool feature was the Google Chrome extension to share content with just a click.
Please keep in mind Version 2.0 is not longer maintained
Demo is still alive here: https://social.codejungle.org/
Version 3.0 (est 2020)
Please report feature requests and bugs. Demo is here: https://dev.codejungle.org/
Working features are:
- Share, Commnet, Reshare, Likes
- OpenGraph Tag parsing
- OAuth login via Github and Facebook
Attention This is a early stage beta, things can change drasticly.
4. Donate
Bitcoins: 1GqMSGseij18JnAoB9f3LHJRozNr1QeHkh
Ethereum: 0x6788024D1D36641DDE7832ce9B0300eBbD7C4832