Hey, check out this crazy news article that totally isn't a rickroll

general maintenance

assets/images/rick.gif

This is a binary file and will not be displayed.

+10
docker-compose.yml
··· 1 + version: '2' 2 + 3 + services: 4 + rickognito: 5 + container_name: rickognito 6 + build: 7 + context: ./ 8 + dockerfile: Dockerfile 9 + ports: 10 + - 8080:8080
+2 -2
index.js
··· 1 - const WormWeb = require('./Web.js'); 1 + const Web = require('./Web.js'); 2 2 3 - const web = new WormWeb(); 3 + const web = new Web(); 4 4 process.on('SIGTERM', () => { 5 5 web.close(); 6 6 });
+4 -4
package-lock.json
··· 1 1 { 2 2 "name": "rickognito", 3 - "version": "0.0.2", 3 + "version": "0.0.3", 4 4 "lockfileVersion": 2, 5 5 "requires": true, 6 6 "packages": { 7 7 "": { 8 8 "name": "rickognito", 9 - "version": "0.0.2", 9 + "version": "0.0.3", 10 10 "license": "MIT", 11 11 "dependencies": { 12 - "express": "^4.18.2", 13 - "express-useragent": "^1.0.15" 12 + "express": "4.18.2", 13 + "express-useragent": "1.0.15" 14 14 } 15 15 }, 16 16 "node_modules/accepts": {
+3 -3
package.json
··· 1 1 { 2 2 "name": "rickognito", 3 - "version": "0.0.2", 3 + "version": "0.0.3", 4 4 "description": "Disguise a rickroll", 5 5 "main": "index.js", 6 6 "scripts": { ··· 17 17 }, 18 18 "homepage": "https://gitlab.com/sanin.dev/rickognito#readme", 19 19 "dependencies": { 20 - "express": "^4.18.2", 21 - "express-useragent": "^1.0.15" 20 + "express": "4.18.2", 21 + "express-useragent": "1.0.15" 22 22 } 23 23 }
+6
readme.md
··· 1 + # Rickognito 2 + ![Rickognito](/assets/images/rick.gif "Rickognito") 3 + 4 + A web server that directs link preview bots to a webpage of your choosing while directing humans to [Never Gonna Give You Up](https://www.youtube.com/watch?v=qdtOhtjWaOE). 5 + 6 + Try it out at [aggregationnews.com](https://aggregationnews.com/).
+6
views/index.html
··· 18 18 <body> 19 19 <div id="main"> 20 20 <div id="container" class="panel"> 21 + <p> 22 + <img src="/assets/images/rick.gif" width="192" height="144" /> 23 + </p> 21 24 <label for="urlinput">Mask URL:</label> 22 25 <input name="in" type="text" id="urlinput" /> 23 26 24 27 <label for="urloutput">Disguised URL:</label> 25 28 <input type="text" readonly id="urloutput" /> 29 + <p> 30 + <a href="https://gitlab.com/sanin.dev/rickognito">Source Code</a> 31 + </p> 26 32 </div> 27 33 </div> 28 34 <script src="/assets/js/url.js" defer></script>