fiskhandlarn / dontvis.it

:no_entry_sign: dontvis.it, the idiot circumventor tool
MIT License
0 stars 0 forks source link

dontvis.it

dontvis.it

dontvis.it is a tool to escape linkbaits, trolls, idiots and asshats.

Build Status StyleCI

This tool tries to capture the content of an article or blog post without passing on your visit as a page view. dontvis.it also reads and displays (some) news articles otherwise only visible to "subscribers". Effectively this means that you're not paying with your attention or money, so you can read and share< the idiocy that it contains. (This is basically a repackaged Instapaper/Pocket/ReadLater/whatever.)

How it works

A user will paste a link, or type dontvis.it/ before the URL in the address bar and then the script goes to work:

Install

Install the composer dependencies:

$ composer install

Install the node dependencies and build the resources:

$ npm install && npm run dev

(Or use make install && make build:dev instead of the above.)

Configure your web server setting the web root to the public/ folder or use Docker.

Edit the .env file with your database credentials.

Develop

Build CSS & JS files one time:

$ npm run dev

or

$ make build:dev

Build CSS & JS files and watch for file changes:

$ npm run watch

or

$ make watch

Build minified CSS & JS files one time:

$ npm run prod

or

$ make build

Docker

Use this database host:

DB_HOST=mysql

Create SSL certificate:

$ mkdir -p .docker/.ssl
$ openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout .docker/.ssl/server.key -out .docker/.ssl/server.pem

or

make ssl:create

Start Docker:

$ docker-compose up -d

or

$ make up

Access the site via https://localhost:3000/ and phpMyAdmin via http://localhost:8082/.

Stop Docker:

$ docker-compose down

or

$ make down

TODO

Built with:

Thanks to