Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/logkirk/sourcehut-lists-userscript

A userscript which adds wrapping to Sourcehut Lists messages.
https://github.com/logkirk/sourcehut-lists-userscript

javascript sourcehut userscript

Last synced: 2 days ago
JSON representation

A userscript which adds wrapping to Sourcehut Lists messages.

Awesome Lists containing this project

README

        

Sourcehut Lists Line Wrap Fix
=============================

[project](https://sr.ht/~logankirkland/sourcehut-lists-userscript/) /
[repo](https://git.sr.ht/~logankirkland/sourcehut-lists-userscript) /
[mailing list](https://lists.sr.ht/~logankirkland/sourcehut-lists-userscript) /
[issues](https://todo.sr.ht/~logankirkland/sourcehut-lists-userscript)

[![builds.sr.ht status](https://builds.sr.ht/~logankirkland/sourcehut-lists-userscript.svg)](https://builds.sr.ht/~logankirkland/sourcehut-lists-userscript?)

This is a userscript intended to fix the issues that are caused by
Sourcehut Lists not wrapping messages. It causes all messages to be
wrapped by default and adds a link to each message header to toggle
wrapping for that message.

> ℹ️ **Note**
> The canonical project locations are linked above. Other locations are mirrors.

## Installation

Install using your userscript manager of choice. This is tested
(extremely minimally) using
[Violentmonkey](https://violentmonkey.github.io/) on Firefox.

In Violentmonkey, choose the "Install from URL" option and paste the
following URL:

```
https://git.sr.ht/~logankirkland/sourcehut-lists-userscript/blob/main/sourcehut_lists.user.js
```

## Discussion

Here are some relevant community discussions about this issue:

- [Use format=flowed in automatic answer to HTML e-mails](https://lists.sr.ht/~sircmpwn/sr.ht-discuss/%[email protected]%3E)
- [~sircmpwn/lists.sr.ht#143: Long text lines are not wrapped](https://todo.sr.ht/~sircmpwn/lists.sr.ht/143)
- [list archives are displayed without word-wrap](https://lists.sr.ht/~sircmpwn/sr.ht-discuss/%3C50649945-5CE9-42D4-A56A-C366235471E8%40traduction-libre.org%3E)

## Feedback

I am *not* a JS developer, so any feedback in the form of comments or
patches is welcome. Please send any feedback (including patches) to:
[~logankirkland/[email protected]](mailto:~logankirkland/[email protected])