Post anywhere and Autosync everywhere.
Powered by hexo, Themed by jane, Controled by telcmd.
-
Accept remote article: through open http API (i.e.
http://yourhost/telcmd?hexo
), and write it intosource/_post/${title}.md
. -
Run depoly script (i.e.
hexo generate && hexo deploy
), publish articles to Hexo Git pages. -
Sync with your PC: run
git push
at Janny server, then telcmd send a commandgit pull
to your PC.
-
Your server
-
Create repositiry
yourname.github.io
-
Fork repositiry
janny-hexo
-
Install git & node, setup your git account
git clone https://github.com/YourName/janny-hexo.git
cd janny-hexo
npm install
Server side:
// Start telcmd
forever start telcmd/server.js
PC side [optional]:
// Start telcmd
forever start telcmd/client.js
-
Post article by PC:
-
run command
new.bat
create a post -
run command
hx.bat
to review [optional] -
run command
sync.bat
to sync to server
-
-
Post article by http API:
http://yourhost:81/telcmd?hexo