Serve a random article from MDN's glossary on each browser startup.
- npm
- node
- systemd (if you want to run it as a service)
- Position yourself inside an appropriate directory and execute the following commands:
$ git clone https://github.com/sodic/daily-article
$ cd daily-article
$ ./install.sh
- Set your browser's startup page to
localhost:9000
. This is only the default port, you can change it by editing the .env file.
Use ./uninstall.sh
for uninstalling.
Install the service and you'll get a random MDN article every time you open your browser.
GET /
- Get a random articleGET /<article_name>
- Get a specific articlePOST /<article_name>
- Mark a specific article as read (the server will stop sending it when you make random article requests)DELETE /<article_name>
- Mark a specific article as unread (the server will start sending it on random article requests again)