314b237bb7
add static route for main.css
...
Build and publish the docker image / build (push) Failing after 10s
Signed-off-by: ngn <ngn@ngn.tf>
2025-01-20 05:54:35 +03:00
f4dd0995a7
fix the unused source_url setting
...
Build and publish the docker image / build (push) Successful in 34s
Signed-off-by: ngn <ngn@ngn.tf>
2025-01-20 04:45:48 +03:00
f8a1e6f79c
general cleanup
...
Signed-off-by: ngn <ngn@ngn.tf>
2025-01-20 04:31:15 +03:00
Aravinth Manivannan
0b3a43088b
fix: escape contents of code blocks
...
closes: https://github.com/realaravinth/libmedium/issues/36
2024-06-07 14:20:25 +05:30
Aravinth Manivannan
612001e570
fix: update default source code config param
2024-04-13 06:59:15 +05:30
Aravinth Manivannan
dcdc2051cc
fix: assign unique IDs to gist permanent links
2024-04-13 06:50:07 +05:30
Aravinth Manivannan
2272eaa90c
feat: use medium.com's URL patterns
...
closes: https://github.com/realaravinth/libmedium/issues/28
2023-12-07 16:54:47 +05:30
Aravinth Manivannan
0e0637bfa4
chore: update deps
2023-10-20 14:31:21 +05:30
Aravinth Manivannan
f2afc141a8
fix: git id extraction
2023-10-20 14:21:05 +05:30
Aravinth Manivannan
3343b698aa
chore: linting
2023-02-19 20:08:50 +05:30
Aravinth Manivannan
d4f73dd425
chore: update deps
2023-02-19 19:52:14 +05:30
Aravinth Manivannan
511ee3819c
feat: test content rendering
2023-02-19 19:51:57 +05:30
Aravinth Manivannan
fc371487fd
feat: add styling for MIXTAPE_EMBED
2023-02-17 18:38:21 +05:30
Aravinth Manivannan
bedbef97e8
fix: list formatting
...
DESCRIPTION
Medium's array based markup requires the view layer to peek into the
next element to terminate the previous element's formatting rules.
So a <ul> element's termination is specified by the appearance of an
element that isn't a <ul>. This patch maintains state and lazily
applies formatting rules when termination is detected.
2023-02-17 18:19:30 +05:30
realaravinth
bd401d888e
fix: flatten content and then apply markup rules
2022-08-21 23:10:40 +05:30
realaravinth
1c1224b405
feat: bump deps and switch to actix-web-codegen-const-routes
2022-08-21 17:57:45 +05:30
realaravinth
46464ac74d
feat: add syntax highlighting to feature list
2022-04-28 14:41:13 +05:30
realaravinth
4694030946
feat: syntax highlighting for github gists
2022-03-19 12:29:39 +05:30
realaravinth
574d14714d
fix: render only specified gists, if specification is provided
2022-01-16 14:14:58 +05:30
realaravinth
9c5342a053
light weight graphql query to fetch data to construct post URL
2021-11-25 12:35:47 +05:30
realaravinth
32934c8353
get post from post id
2021-11-25 12:33:54 +05:30
realaravinth
33f02c2ece
show post preview
2021-11-07 13:22:10 +05:30
realaravinth
59d0dd3a84
fix gist link to github
2021-11-05 20:39:22 +05:30
realaravinth
9bf500f764
render gists inline
2021-11-04 23:51:59 +05:30
realaravinth
67a59fe38b
cache gists
2021-11-04 23:43:40 +05:30
realaravinth
072e30cba3
proxy github gists and render them on posts
2021-11-04 19:36:37 +05:30
realaravinth
7fdf255678
show reading time
2021-11-02 21:04:02 +05:30
realaravinth
745d97acfd
versioned migrations for cache
2021-11-02 21:03:23 +05:30
realaravinth
14c7225f82
proxy medium images
2021-11-02 17:56:39 +05:30
realaravinth
b7e3f7348c
create tmp cache directory if one is not specified
2021-11-02 16:03:10 +05:30
realaravinth
817c997d4a
read cache path from config file
2021-11-02 15:47:55 +05:30
realaravinth
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
realaravinth
c23943a796
add index page
2021-10-31 23:26:15 +05:30
realaravinth
a820a5233d
change config dir and env var prefix
2021-10-31 22:47:09 +05:30
realaravinth
f0853a4a64
implement rendering on medium-formatted data
2021-10-31 22:26:42 +05:30
realaravinth
63bd10688c
reuse client object
2021-10-31 22:26:22 +05:30
realaravinth
adf85ea814
fetch details from medium endpoint
2021-10-31 15:13:04 +05:30
realaravinth
4f922c725c
read settings and meta routes
2021-10-31 15:12:12 +05:30