2013-04-03 09:14:01 -04:00
# poche
2013-04-03 09:22:19 -04:00
Abandon Pocket, Instapaper and other Readability service : adopt poche. It is the same, but it is open source.
2013-04-03 09:14:01 -04:00
2013-04-13 05:08:31 -04:00
![poche ](http://inthepoche.com/img/logo.png )
2013-04-04 16:16:33 -04:00
2013-04-12 08:56:06 -04:00
The website of poche is [inthepoche.com ](http://inthepoche.com ).
2013-04-12 08:55:41 -04:00
2013-04-04 16:15:48 -04:00
To get news from poche, [follow us on twitter ](http://twitter.com/getpoche ).
2013-04-11 05:00:59 -04:00
[If you want to flattr poche, it's here. ](https://flattr.com/thing/1225780/nicosombpoche-on-GitHub )
2013-04-03 09:14:01 -04:00
## Usage
2013-04-04 16:15:48 -04:00
You can easily add a "poched" page with the bookmarklet.
2013-04-03 09:14:01 -04:00
2013-04-17 09:32:57 -04:00
poche save the entire content of a poched links : text and pictures are stored on your server.
2013-04-04 16:15:48 -04:00
You can :
* read a page in a comfortable reading view
* archive a link
* put a link in favorite
* delete a link
2013-04-03 09:14:01 -04:00
2013-04-17 09:32:57 -04:00
## Requirements & installation
You have to install [sqlite for php ](http://www.php.net/manual/en/book.sqlite.php ) on your server.
Get the [latest version ](https://github.com/nicosomb/poche ) of poche on github. Unzip it and upload it on your server. poche must have write access on assets, cache and db directories.
That's all, **poche works** !
2013-04-04 14:12:50 -04:00
## Security
You **have** to protect your db/poche.sqlite file. Modify the virtual host of your website to add this condition :
```apache
< Files ~ " \.sqlite $" >
Order allow,deny
Deny from all
< / Files >
```
2013-04-17 11:47:53 -04:00
Nginx version:
```nginx
location ~ /(db) {
deny all;
return 404;
}
```
2013-04-17 04:35:50 -04:00
## Import from Pocket
If you want to import your Pocket datas, [export them here ](https://getpocket.com/export ). Put the HTML file in your poche directory, execute import.php file locally by following instructions. Be careful, the script can take a very long time.
2013-04-03 09:14:01 -04:00
## License
2013-04-03 09:23:00 -04:00
Copyright © 2010-2013 Nicolas Lœuillet < nicolas @ loeuillet . org >
2013-04-03 09:14:01 -04:00
This work is free. You can redistribute it and/or modify it under the
terms of the Do What The Fuck You Want To Public License, Version 2,
2013-04-17 11:47:53 -04:00
as published by Sam Hocevar. See the COPYING file for more details.