Daniel Valentine
401061b7b7
( #38 ) redirect /:id to canonical URL for post ( #58 )
...
This is the first part of a possibly multi-stage fix toward #38 . Specifically,
this implements redirection of `/:id` (a short-form URL to a post) to
the post's canonical URL. Ferrit issues a `HEAD /:id` to Reddit to get
the canonical URL, and on success will send an HTTP 302 to a client with
the canonical URL set in as the value of the `Location:` header.
2022-10-30 11:40:48 -06:00
Daniel Valentine
fc88b70e5e
( #4 ) HTTP compression (Reddit -> Ferrit -> client) ( #54 )
...
(#4 ) HTTP compression (Reddit -> Ferrit -> client)
Implements HTTP compression, between both Reddit and Ferrit and Ferrit
and a web browser. Compression between Reddit and Ferrit are mandatory,
whereas compression between Ferrit and a client is opt-in (client must
specify a compressor in the Accept-Encoding header).
Supported compressors are gzip and brotli. gzip support is ubiquitous,
whereas brotli is supported by almost all modern browsers except Safari
(iOS, iPhone, macOS), although that may be changing soon.
Co-authored-by: Matthew Esposito <matt@matthew.science>
2022-10-26 09:43:08 -06:00
Daniel Valentine
24bfd7e5e7
( #52 ) fix Replit deploy script
2022-10-25 00:06:23 -06:00
Daniel Valentine
13a8983437
( #26 ) update cached to 0.40.0
2022-10-24 23:50:34 -06:00
Matt
8906b66cb3
( #23 ) Implement FERRIT_SFW_ONLY ( #24 )
2022-10-21 18:21:20 -06:00
Niroj Manandhar
4afd963c64
( #34 ) Reveddit to unddit ( #46 )
2022-10-20 00:50:33 -06:00
Daniel Valentine
8b1d6e8a49
Update README.
2022-10-15 16:30:15 -06:00
Daniel Valentine
5733197fdd
( #33 ) Add CREDITS file and script to generate.
2022-10-15 13:08:47 -06:00
Daniel Valentine
3a6b76374e
Remove disclaimer that instances wiki page is empty.
2022-10-15 01:39:18 -06:00
Daniel Valentine
d632fea6a7
Replace Reddit mobile SVG with something slightly better.
2022-10-15 00:46:50 -06:00
Daniel Valentine
660c7e600a
Merge branch 'master' of github.com:ferritreader/ferrit
2022-10-12 18:44:17 -06:00
Daniel Valentine
dee73dfa33
Rename GitHub organization to ferritreader.
2022-10-12 17:02:22 -06:00
Daniel Valentine
7099e7ab33
( #28 ) minimalize post footer content on mobile ( #35 )
2022-10-12 16:58:24 -06:00
Daniel Valentine
010aad4727
Add DoomOne theme, c/o Tildemaster <root@vern.cc>
2022-10-11 00:37:05 -06:00
Daniel Valentine
192a2faa00
Add new logos.
2022-10-11 00:26:52 -06:00
Daniel Valentine
5844ba629d
write new README for Ferrit ( #2 )
2022-10-09 22:41:22 -06:00
Daniel Valentine
be3a4013db
Rename project to Ferrit.
2022-10-09 14:39:27 -06:00
Daniel Valentine
a19f46ad18
( #13 ) implement landing page for NSFW content ( #25 )
2022-10-07 08:40:07 -06:00
Daniel Valentine
e60b913452
(spikecodes/libreddit#574) list post duplicates ( #22 )
...
(spikecodes/libreddit#574 ) list post duplicates
2022-10-05 11:14:27 -06:00
Daniel Valentine
9ba47f458f
use permalink offered by Reddit ( #19 )
2022-09-28 23:41:47 -06:00
Daniel Valentine
8ea797f880
Blur NSFW posts libreddit/spikecodes#482
...
Originally authored by NKIPSC <15067635+NKIPSC@users.noreply.github.com>
2022-09-26 19:35:23 -06:00
Daniel Valentine
b263234dc2
add @spikecodes as package author
2022-09-25 02:19:59 -06:00
Daniel Valentine
a125b8a43e
cargo update
2022-09-25 02:16:23 -06:00
Daniel Valentine
03a87fcd23
fix incorrect colorization of logo
2022-09-24 21:56:28 -06:00
Daniel Valentine
7b90d95a95
update hls.js to v1.2.3 ( #6 )
2022-09-24 20:47:56 -06:00
Matt
634e6b6354
Add Build and Test GitHub action ( #11 )
2022-09-24 20:34:30 -06:00
Matt
a0db2144a5
Formatting + clippy changes ( #12 )
...
Co-authored-by: Matthew Esposito <matt@matthew.science>
2022-09-24 20:19:13 -06:00
Matt
238ef73ed4
Implement 'posts hidden because of NSFW' #508 ( #9 )
...
Co-authored-by: Matthew Esposito <matt@matthew.science>
2022-09-24 20:14:01 -06:00
Daniel Valentine
5f37e8e8ee
fix replit deploy shell script ( #592 )
...
Per https://github.com/spikecodes/libreddit/issues/592#issuecomment-1253693490 , Replit no longer includes wget, so this modifies the shell script to use curl to download the latest libbacon binary. The commit also makes minor improvements to the shell script (it now uses builtin `:` instead of external `true`, and sh will execute each command as they are run).
2022-09-21 20:38:09 -06:00
Daniel Valentine
2dd12756df
fix replit deploy shell script ( #592 )
...
Per
https://github.com/spikecodes/libreddit/issues/592#issuecomment-1253693490 ,
Replit no longer includes wget, so this modifies the shell script to use
curl to download the latest libbacon binary. The commit also makes minor
improvements to the shell script (it now uses builtin ":" instead of external
"true", and sh will execute each command as they are run.
2022-09-21 20:34:15 -06:00
Daniel Valentine
e2c84879d6
add support for /comments/:id endpoint (and derivatives) (spikecodes#568)
2022-09-21 20:24:21 -06:00
Daniel Valentine
977d5cfce0
add support for /comments/:id endpoint (and derivatives) (spikecodes#568)
2022-09-21 20:21:24 -06:00
Daniel Valentine
3c0cb2ecec
remove GitHub workflows
2022-09-20 23:07:25 -06:00
Daniel Valentine
607b3bda4a
remove GitHub workflows
2022-09-20 23:04:37 -06:00
Daniel Valentine
4a9f405947
remove all reddit branding ( #1 )
2022-09-20 23:01:55 -06:00
Daniel Valentine
a9d5993b20
remove all reddit branding ( #1 )
2022-09-20 22:48:00 -06:00
Daniel Valentine
dafa1ab1d5
Remove .github/FUNDING.yml ( #2 )
2022-09-20 21:44:52 -06:00
Daniel Valentine
f5e7c6eabf
remove .github/FUNDING.yml ( #2 )
2022-09-20 21:42:33 -06:00
Daniel Valentine
1284de8c13
create placeholder README ( #2 )
2022-09-20 21:01:16 -06:00
Daniel Valentine
94dc7b567c
create placeholder README ( #2 )
2022-09-20 20:59:23 -06:00
Arya K
57d304161b
Add ~vern onion instance ( #537 )
...
* Add ~vern onion instance
Add vern.cc's onion instance of libreddit to instance list
* Remove http:// from link name
* Fix previous commit
2022-06-24 10:52:08 -07:00
Edward
b5f21bcb97
Added 3 instances ( #531 )
...
* Add Instance - encrypted-data.xyz
* Add Instance - eu.org
* Add Instance - opnxng.com
2022-06-24 10:50:16 -07:00
Dyras
36c560144a
Remove libreddit.awesomehub.io ( #535 )
2022-06-24 10:48:41 -07:00
Edward
2bc714d0c5
Added mha.fi Instance ( #519 )
...
Close #518
2022-06-11 20:41:54 +00:00
Arya K
ff4a515e24
change lr.vern.cc hosting location as we moved vps ( #526 )
2022-06-11 20:39:29 +00:00
Spike
93f089c2cf
Add libreddit.foss.wtf ( Close #527 )
2022-06-11 20:39:11 +00:00
Artemis
23569206cc
L: Fixed two swapped config variables in the documentation. ( #524 )
2022-06-06 02:09:36 +00:00
spikecodes
5f20e8ee27
Fix dark theme hidden in settings
2022-05-28 19:55:13 -07:00
guaddy
a8a8980b98
Update README.md ( #516 )
2022-05-28 05:31:38 +00:00
Spike
fd7d977835
Add instance rd.jae.su ( close #515 )
2022-05-28 05:31:07 +00:00