self-reliantly posting on the #Fediverse with painless hosting and security in mind. 1. Rent any web space from EUR 2 monthly with a domain-name as your enduring digital property (e.g. … https://demo.mro.name/shaarligo
Marcus Rohrmoser 6e8bd743c5 end tags at zero-width space. | 1 年間 前 | |
---|---|---|
static | 3 年 前 | |
testdata | 5 年 前 | |
tpl | 3 年 前 | |
.gitattributes | 6 年 前 | |
.gitignore | 4 年 前 | |
.travis.yml | 5 年 前 | |
README.md | 3 年 前 | |
ShaarliGo.go | 1 年間 前 | |
ShaarliGo_test.go | 3 年 前 | |
api0.go | 3 年 前 | |
api0_test.go | 1 年間 前 | |
atom.go | 3 年 前 | |
atom_test.go | 3 年 前 | |
ban.go | 3 年 前 | |
ban_test.go | 3 年 前 | |
bookmarklet.msc | 3 年 前 | |
build.sh | 1 年間 前 | |
cgi-fake.sh | 7 年 前 | |
comb.go | 3 年 前 | |
comb_test.go | 3 年 前 | |
config-core.go | 3 年 前 | |
config-core_test.go | 3 年 前 | |
config.go | 3 年 前 | |
config_test.go | 3 年 前 | |
doap.rdf | 4 年 前 | |
emoji_map.go | 6 年 前 | |
feedwriter.go | 3 年 前 | |
feedwriter_test.go | 3 年 前 | |
flow.dot | 7 年 前 | |
go.mod | 3 年 前 | |
go.sum | 3 年 前 | |
http.go | 3 年 前 | |
mastodon.go | 1 年間 前 | |
mini-build.sh | 1 年間 前 | |
pinboard.go | 3 年 前 | |
pinboard_test.go | 3 年 前 | |
post-test.sh | 7 年 前 | |
search.go | 3 年 前 | |
search_test.go | 3 年 前 | |
tags.go | 1 年間 前 | |
tags_test.go | 1 年間 前 | |
tools.go | 3 年 前 | |
tools_test.go | 3 年 前 | |
version.go | 6 年 前 |
🌩 Lightning Talk at the 34c3 🚀
🌺 Self-reliant publishing for laypeople like your loved ones and mine. Have a say and not be subjected to any T&Cs, just local law. All without setup headaches, but truly self-sustained and enduringly independent:
That's if the webserver is Apache (Linux, 64 bit, modules cgi and rewrite) as common with shared hosting.
For lighttpd see static/app/lighttpd.conf
. Nginx lacks CGI support (srsly?).
Or build from source at http://mro.name/ShaarliGo
In case you are reluctant to file a public issue, feel free to email security@mro.name (🔏key).
POSSE is an abbreviation for Publish (on your) Own Site, Syndicate Elsewhere, a content publishing model that starts with posting content on your own domain first, then syndicating out copies to 3rd party services with permashortlinks back to the original on your site.
(says https://indieweb.org/POSSE)
You can POSSE to
enter your Pinboard Auth Token from https://pinboard.in/settings/password at the
end of app/config.yaml
like this
posse:
- pinboard: https://api.pinboard.in/v1?auth_token=johndoe:XOG6EJIYMIZZ
prefix:
It's ok to leave prefix
empty. Each pinboard post gets a backlink as an
additional footer line. If prefix
is set, the footer line is prefix
+ id
.
at first manually obtain an access token (example server here is https://social.tchncs.de/):
write:statuses
Then enter the server endpoint plus /api/v1/
and access token into
app/config.yaml
like so:
posse:
- mastodon: https://social.tchncs.de/api/v1/
token: …boph1koomie4eikaiG…
prefix:
It's ok to leave prefix
empty. Each mastodon post gets a backlink as an
additional footer line. If prefix
is set, the footer line is prefix
+ id
.
Also, if you don't know the token but the endpoint accepts basic auth (pleroma), you may add the credentials to the url for the time being until I figure out how to get a token from pleroma or do proper OAuth2.
Quality | very good | good | normal | irrelevant |
---|---|---|---|---|
Functionality | × | |||
Reliability | × | |||
Usability | × | |||
Efficiency | × | |||
Changeability | × | |||
Portability | × |
tl;dr: a webserver that can execute CGIs and serve files from disc.
ShaarliGo is an old-school CGI binary executable, so it needs a webserver to drive it.
Configurations come for Apache (automatic, see static/.htaccess
) and
Lighttpd (see static/app/lighttpd.conf
).
As a self-contained, statically linked, Go executable, it has no runtime dependencies and works on a variety of platforms.
ShaarliGo needs write access to the webroot filesystem to once unpack the web assets and when posting update the content.
Storage footprint is <25 KiB per post.
When posting a page, it is once accessed via HTTP GET to infer title, tags and a thumbnail image URL.
app/config.yaml
is acceptable),inspired by and compatible to http://sebsauvage.net/wiki/doku.php?id=php:shaarli.