Skip to content

bc1bb/OpenLongr

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

OpenLongr

CodeFactor

OpenLongr

OpenLongr is a user-friendly privacy-focused alternative to TwitLonger. (now with dark theme too)

No account or login required, just type your text (OpenLongr supports markdown) and it'll be published in a second.

The database only stores three information about messages, they are the ID of the message, the content and the country of the user that sent it (based on IP, but IP isn't stored).

Installation

Requirements

  • a MySQL Database,
  • composer (to install Parsedown),
  • PHP 7 or better,
  • PHP's curl.

Downloading

git clone https://github.com/jusdepatate/openlongr.git
// could use `sudo -u http git clone ...`

OR

wget https://github.com/jusdepatate/OpenLongr/archive/refs/heads/master.zip
unzip master.zip

and then

composer install

Configuration

  • Everything is in env.php (create it by copying env.example.php),
  • Execute setup.php and then you can delete it (if it tells you to).

Monitoring

I have created the script status.php to use with any uptime/monitoring (I use Uptime Kuma for example) that supports json/string keyword.

Example request when everything is right: curl http://openlongr.localhost/status.php -L

{"status": "OK"}

About

πŸ“ User-friendly privacy-focused alternative to TwitLonger.

Topics

Resources

License

Stars

Watchers

Forks