Giter VIP home page Giter VIP logo

self-hosted-links's Introduction

What is it?

Laravel and ReactJS based self-hosted link collection for your social media, with GDPR-friendly basic analytics.

Work in progress, contributions are welcome!

This is not a deployment ready project. I do use it as my landing page, and for that matter it works, but it is still not user-friendly, for example all link administration is done through SQL.

TODO

  • Write an informative dashboard
  • Write an actual link administration panel
  • Write a log parser
  • Write a nice version of this README
  • Find a catchy name

Prerequisites

PHP, PostgreSQL, webserver.

Installation

After you installed PostgreSQL, and your favourite webserver with PHP, get necessary packets:

apt install composer npm php-xml php-curl php-pgsql git

Clone this repository and get the vendor files with composer and npm:

git clone https://github.com/FaultierSP/self-hosted-links
composer update
php artisan key:generate
npm install

Change the .env.example file name to .env, make necessary changes (SQL credentials, App-Name, domain names in SESSION_DOMAIN and SANCTUM_STATEFUL_DOMAINS and your texts) and build the app:

php artisan migrate
npm run build

Serve the public directory with your favourite server.

Create a new user with:

php artisan user:create -u UserName -e [email protected]

Go to yourdomainname.com/login, login with your created credentials, you will be redirected to your new dashboard.

Maintainance

To update all packets, in your project directory:

composer update
npm update
npm run build

self-hosted-links's People

Contributors

faultiersp avatar

Stargazers

 avatar

Watchers

 avatar

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.