This repository has been archived by the owner on Nov 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
4 additions
and
591 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,11 @@ | ||
# rssfs | ||
[](https://godoc.org/github.com/rbns/rssfs) | ||
|
||
## about | ||
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](https://github.com/rbns/neinp) go package. | ||
use my [neinp](https://go.rbn.im/neinp) go package. | ||
|
||
## installation | ||
## this moved | ||
|
||
go get github.com/rbns/rssfs | ||
this project now lives at sourcehut [https://git.sr.ht/~rbn/rssfs](https://git.sr.ht/~rbn/rssfs) | ||
|
||
## usage | ||
|
||
./rssfs [OPTIONS] URL [URL URL ...] | ||
-addr string | ||
listen address (default "localhost:9999") | ||
-debug | ||
enable debug mode | ||
-gid string | ||
gid name (default "nogroup") | ||
-uid string | ||
uid name (default "nobody") | ||
|
||
### example | ||
|
||
$ ./rssfs https://www.kernel.org | ||
$ mount -t9p -o port=9999,noextend 127.0.0.1 /mnt/tmp | ||
$ tree /mnt/tmp/ | head -14 | ||
/mnt/tmp/ | ||
└── 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> | ||
compliance.</p> | ||
<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> | ||
the old master branch in this remote will remain intact. | ||
|
Oops, something went wrong.