ref: v0.0.2 rssfs/README.md -rw-r--r-- 1.7 KiB
f1daf5ebRuben Schuller fix package path typo 1 year, 29 days ago




rssfs is a 9p server serving the contents of rss feeds. it's main purpose is being an example of how to use my neinp go package.


go get go.rbn.im/rssfs


./rssfs [OPTIONS] URL [URL URL ...]
  -addr string
    	listen address (default "localhost:9999")
    	enable debug mode
  -gid string
    	gid name (default "nogroup")
  -uid string
    	uid name (default "nobody")


$ ./rssfs https://www.kernel.org
$ mount -t9p -o port=9999,noextend /mnt/tmp
$ tree /mnt/tmp/ | head -14
└── The Linux Kernel Archives
	├── About Linux Kernel
	│   ├── content
	│   ├── description
	│   ├── guid
	│   ├── link
	│   └── title
	├── Active kernel releases
	│   ├── content
	│   ├── description
	│   ├── guid
	│   ├── link
	│   └── title
$ cat /mnt/tmp/The\ Linux\ Kernel\ Archives/About\ Linux\ Kernel/description | head
<div class="section" id="what-is-linux">
<h2>What is Linux?</h2>
<p>Linux is a clone of the operating system Unix, written from scratch by
Linus Torvalds with assistance from a loosely-knit team of hackers
across the Net. It aims towards POSIX and <a class="reference external" href="http://www.unix.org/">Single UNIX Specification</a>
<p>It has all the features you would expect in a modern fully-fledged Unix,
including true multitasking, virtual memory, shared libraries, demand
loading, shared copy-on-write executables, proper memory management, and
multistack networking including IPv4 and IPv6.</p>