170 Commits

Author SHA1 Message Date
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
e6563e2c83
chore: bump deps 2023-02-17 18:19:30 +05:30
Aravinth Manivannan
4cbd8caf35
Merge pull request #7 from Raistlingru/patch-1
Add hostux instance
2023-02-07 11:57:18 +05:30
Raistlingru
7a35fe7884
Add hostux instance 2023-02-06 10:36:04 +01:00
Aravinth Manivannan
2f127f9f2f
Merge pull request #3 from RatchanonDev/patch-1
Updated Country and Provider for vern.cc Public Instance
2022-12-07 11:35:47 +05:30
TinyWiFi
4d24bdaa9a
Updated Country and Provider for vern.cc Public Instance
done on behalf of ~vern admins (https://vern.cc/admins)
2022-11-26 22:52:47 +07:00
Aravinth Manivannan
6f10588ad4
Merge pull request #2 from gi-yt/patch-1
Make an instance list and add ~vern's instances
2022-11-02 09:51:00 +05:30
Arya K
ca53c789f1
Make an instance list and add ~vern's instances 2022-11-01 22:36:43 +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
922a078dae
feat: add humanetech badge 2022-03-24 19:35:15 +05:30
realaravinth
4694030946
feat: syntax highlighting for github gists 2022-03-19 12:29:39 +05:30
realaravinth
8e6fd2bfae
chore: update docker base rust img 2022-02-17 20:27:02 +05:30
realaravinth
0f9f1e0315
chore: update deps 2022-02-17 20:26:45 +05:30
realaravinth
7ad24a2c86
feat: show post's medium.com url 2022-02-09 23:38:04 +05:30
realaravinth
574d14714d
fix: render only specified gists, if specification is provided 2022-01-16 14:14:58 +05:30
realaravinth
df14f8b0b8
feat: ordered list rendering 2022-01-16 13:20:44 +05:30
realaravinth
25abc19161
feat: use cargo-tarpaulin for generating coverage 2022-01-05 13:03:27 +05:30
realaravinth
3aabaeb52d
feat: blockquote rendering and styling 2022-01-05 11:41:30 +05:30
realaravinth
6aa6b0c097
feat: request to file bug when libmedium encounters unknown formatting rules 2022-01-05 11:36:15 +05:30
realaravinth
ebb5d5175b
fix: link formatting eating an extra character 2022-01-05 11:17:08 +05:30
realaravinth
6424c85b98
fix code snippet styling 2021-12-09 11:36:26 +05:30
realaravinth
5d46ef3a58
use grcov to get rust code coverage 2021-11-25 14:09:42 +05:30
realaravinth
c438ea3b2d
userscript: proxy using post ID 2021-11-25 13:50:57 +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
ed091b5cf2
list features 2021-11-04 19:42:08 +05:30
realaravinth
072e30cba3
proxy github gists and render them on posts 2021-11-04 19:36:37 +05:30
realaravinth
8e9b070d46
add explicit width to img and fix render repetition bug when
markup.start is 0
2021-11-02 22:44:35 +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
96a08fcb3f
create cache dir in docker container 2021-11-02 15:48:18 +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
133c4a96b3
Show author photo in metadata section 2021-11-02 13:40:13 +05:30
realaravinth
26722e5a52
img: include captions 2021-11-02 13:39:37 +05:30
realaravinth
94656c5232
set demo post to use relative URL 2021-11-02 13:39:02 +05:30
realaravinth
58f7ebb91e
rm debug statement 2021-11-02 12:06:33 +05:30
realaravinth
e05687262f
- run build script when CSS file is changed
- typeset posts document
2021-11-02 12:00:32 +05:30
realaravinth
847afe1bdd
implement additional markup types on post 2021-11-02 12:00:11 +05:30
realaravinth
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