📝 User-friendly privacy-focused alternative to TwitLonger. https://openlongr.ovh/
Find a file
2022-04-19 21:21:39 +02:00
src fix footer css + make btn white 2022-04-19 21:21:39 +02:00
.gitignore add status.php 2021-10-27 19:12:45 +02:00
.htaccess add status.php 2021-10-27 19:12:45 +02:00
autoload.php add status.php 2021-10-27 19:12:45 +02:00
composer.json add status.php 2021-10-27 19:12:45 +02:00
composer.lock add status.php 2021-10-27 19:12:45 +02:00
env.example.php add status.php 2021-10-27 19:12:45 +02:00
index.php update index.php 2020-05-22 15:50:52 +04:00
LICENSE add status.php 2021-10-27 19:12:45 +02:00
message.php add status.php 2021-10-27 19:12:45 +02:00
OpenLongr.gif add water.css 2021-10-27 19:43:48 +02:00
README.md add water.css 2021-10-27 19:43:48 +02:00
setup.php a year later, lets find out there is a small error in the setup script.. 2021-07-30 01:24:27 +02:00
status.php update status 2021-10-27 19:16:09 +02:00

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"}