diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2021-12-26 19:52:31 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2021-12-26 19:52:31 +0100 |
commit | a10a8fb335e5a817e1a9add49ee179394eea67c4 (patch) | |
tree | 70ea95120f4390a6a5f32cda5a8bf1d45e4e0487 /README.md | |
parent | 0.0.16, read debian/changelog (diff) | |
download | sear.c-a10a8fb335e5a817e1a9add49ee179394eea67c4.tar sear.c-a10a8fb335e5a817e1a9add49ee179394eea67c4.tar.gz sear.c-a10a8fb335e5a817e1a9add49ee179394eea67c4.tar.bz2 sear.c-a10a8fb335e5a817e1a9add49ee179394eea67c4.tar.lz sear.c-a10a8fb335e5a817e1a9add49ee179394eea67c4.tar.xz sear.c-a10a8fb335e5a817e1a9add49ee179394eea67c4.tar.zst sear.c-a10a8fb335e5a817e1a9add49ee179394eea67c4.zip |
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -15,7 +15,7 @@ service sear.c start ## requirements * a POSIX system -* GNU C library +* GNU C library (uses `tdestroy(3)` if compiled without `SC_OLD_STORAGE`) * GNU compiler collection (it's written in GNU C - it uses nested functions) * GNU Make * libxml2-dev (for the simple HTML/1.0 client and HTML parser) @@ -32,12 +32,12 @@ make ## instructions -* run the daemon - it starts listening on HTTP port 7327 (remember it by picturing phone keyboard buttons with letters SEAR (; ) +* run the daemon - it starts listening on HTTP port 7327 (remember it by picturing phone keyboard buttons with letters SEAR (; ) - port can be set with the environment variable `SC_PORT` * optional: create a reverse proxy for HTTPS * navigate to [http://localhost:7327](http://localhost:7327) and do a couple of searches to see if everything works * the horseshoe button redirects directly to the first result without wasting time on the results page. use if you feel lucky. (BP) * the painting button performs a search for images. PRIVACY WARNING: images are loaded directly from servers (not from google) -* program writes all logs to standard error +* program writes all logs to standard error (and to `/logs.html` if compiled with `SC_LOGMEM`) * setting the h parameter will rewrite links to HTTP from HTTPS * setting the l parameter with a number will limit number of displayed links to that number. |