This repository has been archived by the owner on Jul 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathREADME
37 lines (30 loc) · 1.37 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
puush proxy
A proxy for puush
This proxy allows you to upload screenshots captured with puush to your own server.
Check http://puush.me for more information on puush.
Requirements
---
*** NOTE: This project was made either before npm provided package support, or before I heard about it. Someone with time, PLEASE make a PR and add a proper package.json file) ***
* Node.js v0.4.12 or higher (+ npm) --- http://www.nodejs.org
* MongoDB --- http://www.mongodb.org
* formidable --- npm install formidable
* mime --- npm install mime
* mongoose --- npm install mongoose
* marked --- npm install marked
Note about markdown
---
As of a recent update, puushproxy now supports markdown. If you don't want automatic rendering of markdown to html, add .raw to the url or filename.
Configuration
---
Check the 'configuration' section of app.js.
Set 'registerEnabled' to true when you're going to register an account via http://host:port/register
Don't forget to create your upload directory and make writable.
You might want to use 'forever' (npm install forever -g) to keep the proxy alive as long as possible.
in puush:
Edit %appdata%\puush\puush.ini:
ProxyServer = ip
ProxyPort = port
Note
---
This software intercepts all requests to the original puush API and does *not* forward them.
You have to create an account using the registration interface (http://host:port/register).