srid / zulip-archive Goto Github PK
View Code? Open in Web Editor NEWZulip Archive viewer (statically generated HTML)
Home Page: https://funprog.srid.ca
Zulip Archive viewer (statically generated HTML)
Home Page: https://funprog.srid.ca
Create a Actions workflow that automatically deploys generated .html files to GitHub Pages (in a separate repo).
Should probably use docker image of zulip-archive (built via nix).
cf. #21 (comment)
No two topics should have the same slug.
The description field is currently set to a HTML value, as such it doesn't seem to appear in link preview.
Zulip API can return the original Markdown format. Setting apply_markdown
to true in /api/get-messages will get the original format. But we need the HTML as well, so maybe this API should be invoked twice.
Once both the formats are stored in the Message
object (and consequently messages.json
) we can use the markdown format in OGP description.
Custom configuration through YAML/TOML/Dhall would make it easy to run archive on arbitrary Zulip instance.
https://ema.srid.ca/guide/helpers/blaze
Also revamp the design of the generated site. Make it awesome.
Not sure if it is possible to get via Zulip API, but it would be nice to be able to show instance logo on top of archive page, together with custom favicon in tab card.
This would help display posts as rich results in search result pages:
https://developers.google.com/search/docs/guides/intro-structured-data
https://schema.org/docs/schemas.html
The few relevant types I can think of:
Allow some streams to be blacklisted. Which means they should not have their HTML generated, and be excluded from the main index.
For eg., #haskell-beginners
(because it is now locked and unused).
For example #narrow/stream/201385-Haskell
should be rewritten to /haskell/
. Likewise for topic and message links.
At https://funprog.srid.ca/mtl/, there are no messages shown, even though this message was sent nearly two months ago.
This would really speed up the daily Publish CI jobs.
Steal workflow YAML from https://github.com/srid/TheMotteDashboard
A sitemap of all the threads would help crawlers and improve search engine discovery. You can point crawlers to the sitemap using the Sitemap: <full-url>
directive in a robots.txt
file, or by sending them a ping. A sitemap can have a maximum of 50,000 URLs. Beyond that, you need to generate a sitemap index file that points to the different sitemaps.
Not sure if this is a rib
issue or a zulip-archive
issue, but you could leverage this package I published recently to build the sitemaps and sitemap index: https://hackage.haskell.org/package/sitemap-gen
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.