Commit graph

40 commits

Author SHA1 Message Date
59d0dd3a84
fix gist link to github 2021-11-05 20:39:22 +05:30
9bf500f764
render gists inline 2021-11-04 23:51:59 +05:30
67a59fe38b
cache gists 2021-11-04 23:43:40 +05:30
ed091b5cf2
list features 2021-11-04 19:42:08 +05:30
072e30cba3
proxy github gists and render them on posts 2021-11-04 19:36:37 +05:30
8e9b070d46
add explicit width to img and fix render repetition bug when
markup.start is 0
2021-11-02 22:44:35 +05:30
7fdf255678
show reading time 2021-11-02 21:04:02 +05:30
745d97acfd
versioned migrations for cache 2021-11-02 21:03:23 +05:30
14c7225f82
proxy medium images 2021-11-02 17:56:39 +05:30
b7e3f7348c
create tmp cache directory if one is not specified 2021-11-02 16:03:10 +05:30
96a08fcb3f
create cache dir in docker container 2021-11-02 15:48:18 +05:30
817c997d4a
read cache path from config file 2021-11-02 15:47:55 +05:30
af3c43dbf5
Cache post data using sled
Each post fetch was taking 800ms TAT, so I'm using sled to fetch and
cache post data. This reduced TAT down to 2ms.

However, this could cause storage issues. I must design some sort of
resource manager to clean up cache.
2021-11-02 15:30:25 +05:30
133c4a96b3
Show author photo in metadata section 2021-11-02 13:40:13 +05:30
26722e5a52
img: include captions 2021-11-02 13:39:37 +05:30
94656c5232
set demo post to use relative URL 2021-11-02 13:39:02 +05:30
58f7ebb91e
rm debug statement 2021-11-02 12:06:33 +05:30
e05687262f
- run build script when CSS file is changed
- typeset posts document
2021-11-02 12:00:32 +05:30
847afe1bdd
implement additional markup types on post 2021-11-02 12:00:11 +05:30
260dcb97e1
fix repetition bug
when text contained markup data, unprocessed string was being printed
before all the markup had been processed. This caused a repetition bug.
2021-11-02 11:59:13 +05:30
02e158289f
deployment docs 2021-11-01 16:35:22 +05:30
698b59fa90
make metadata height and width nullable
post 965f7edd163a caused panic with null values for metadata height and
width
2021-11-01 08:51:54 +05:30
e4a4e01618
makeshift responsive styling 2021-11-01 08:51:25 +05:30
c23943a796
add index page 2021-10-31 23:26:15 +05:30
6ea970e7a6
fix js userscript 2021-10-31 23:11:12 +05:30
bc45c6f5dd
add js userscript 2021-10-31 23:08:13 +05:30
d02d4d2e49
fix gh-pages deploy 2021-10-31 23:03:36 +05:30
ac9d4f753a
pkg docker 2021-10-31 22:55:47 +05:30
b2f928bc7f
init CI 2021-10-31 22:55:39 +05:30
a820a5233d
change config dir and env var prefix 2021-10-31 22:47:09 +05:30
11dc8acc50
readme 2021-10-31 22:45:38 +05:30
f0853a4a64
implement rendering on medium-formatted data 2021-10-31 22:26:42 +05:30
63bd10688c
reuse client object 2021-10-31 22:26:22 +05:30
a1395234e6
make certain fields non-nullable
I think it is safe to assume that these files will never receive a null
value. However, we should collect a bunch of data and verify this
assumption.

But for now, this means less boilerplate code
2021-10-31 22:17:48 +05:30
adf85ea814
fetch details from medium endpoint 2021-10-31 15:13:04 +05:30
92a9f12117
reverse engineered schema for medium graphql endpoint 2021-10-31 15:12:49 +05:30
732eeb0d3a
add makefile 2021-10-31 15:12:26 +05:30
4f922c725c
read settings and meta routes 2021-10-31 15:12:12 +05:30
60f6a57363
add license 2021-10-31 15:11:25 +05:30
ce837634e7
init 2021-10-31 15:11:13 +05:30