Hi everyone, thanks for the feedback on my last message about making a
static website for browsing a darcs repository. It was great to see that
other people are also interested in static websites.

I've pushed up a bunch of changes since then that I wanted to share. You
can see them in effect here:
https://repos.tuckerm.us/repos/eleventy-darcs/branches/main

Summary of the changes:

- Use Bootstrap UI library
- Branches, which are separate repos grouped under the same project name
- Ability to change between branches in the top nav
- Sidebar on the main page that shows recent patches
- An RSS feed of recent patches (got this idea from Jens' https://smeder.ee)
- Syntax highlighting on files and diff views
- Option to view diffs side-by-side or stacked on top of each other
- Light mode and dark mode

In the previous thread, Max mentioned darcs' unique ability to pull the
intersection of multiple repos. (Great explanation on his blog here:
https://blog.worldmaker.net/2008/aug/10/darcs-workflow-completely-distributed-pull-only-wo/)
I was going to implement something like that before posing another update
here, but I kind of got into these UI changes over the last couple of weeks
and wanted to share what I'd done so far. I think implementing some
configurable "rules for how to build/pull the repo" will be my next step.
Creating the concept of branches was a prerequisite for this, and it does
have that now.

I'm also looking forward to repackaging this as an 11ty plugin, so that
anyone with an 11ty blog can easily add this to their existing website.
(This project itself is currently a standalone 11ty website, but I think
all of it can be implemented as a plugin.) That was also part of my
decision for using Bootstrap -- anyone already using a customized Bootstrap
stylesheet for their site should be able to have this automatically fit the
look of their own site.

Thanks for taking a look! I'd love to hear any feedback and ideas you have.

-Tucker
_______________________________________________
darcs-users mailing list
[email protected]
https://lists.darcs.net/mailman/listinfo/darcs-users

Reply via email to