'use strict'; import React from 'react'; import Shortid from 'shortid'; import { Router, Route, Link } from 'react-router'; export default class Home extends React.Component { render(){ let id = this.props.urlid || Shortid.generate(); return (

Usage

Notica is a Bash function / alias that sends a notification to a tab in your browser when it's ran:

$ long-running-command; notica Finished!

This will wait until the first command completes before running Notica. That way you can go do other things while your long task runs. Then you will recieve a notification on any devices that have the Notica website open.

Quick Setup

Run this command:
$ echo 'notica() { curl --data "d:$*" https://notica.us/{id}; }' >> ~/.bashrc && source ~/.bashrc

Go to this link to receive your notifications (bookmark it since it's yours): https://notica.us/{id}

Setup

Curl is required to use Notica.

Add this line to your .bashrc file:
notica() { curl --data "d:$*" https://notica.us/{id}; }

Source your .bashrc file to apply the changes:
$ source .bashrc

All done! Now go to this link (bookmark it since it's yours):
https://notica.us/{id}

About

Notica was written by Tanner Collin after he got tired of checking if his commands were done running.

Notica is free and open-source software: https://github.com/tannercollin/Notica

Thanks to exdevlin for thinking of the name. Thanks to all the devs behind Node.js, React, webpack, and socket.io.

); } }