Hacker News plugin for Sopel.
Project description
sopel-hackernews
Hacker News plugin for Sopel.
Development status
The current version is more or less stable, but is still considered beta or pre-1.0 due to missing planned features and lack of testing for edge cases. See plans for 1.0 at https://github.com/sopel-irc/sopel-hackernews/issues/3
We welcome contributions from anyone who feels like implementing something from the 1.0 "wishlist", as well as bug reports and feature suggestions.
Installing
Releases are hosted on PyPI, so after installing Sopel, all you need is pip:
$ pip install sopel-hackernews
Configuring
sopel-hackernews supports Sopel's config wizard:
$ sopel-plugins configure hackernews
Available settings are as follows:
relative_timestamps— whether timestamps will be "humanized" like "2 days, 3 hours ago" (the default) or shown as absolute values
Usage
Links to Hacker News items are expanded automatically.
You can search for a link on HN using the .rhn command:
.rhn https://somecool.site/that/posted/an/article/
Credits
Loosely based on dasu's hn.py module, which was licensed as
"literally do whatever you want, i'm not liable for anything lol". Thank you for
the springboard!
Changelog
0.2.0
Added:
sopel-plugins configurewizard support (#17)- Handle user links (#16)
- Basic formatting parser (#15, #18, #19)
- Differentiation of polls from regular stories (#14)
Housekeeping:
- Require Sopel 8 + Python 3.8 or higher (#11)
- Future-proof package license metadata (#12)
- Automate PyPI release publishing (#13)
0.1.0
Initial release. Considered beta, but largely functional.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sopel_hackernews-0.2.0.tar.gz.
File metadata
- Download URL: sopel_hackernews-0.2.0.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc67ae841ea8ec4b110d62ea59a109a1dd629eb205f7d74183ec54dbb5729f26
|
|
| MD5 |
d08b3141f5b7d8946b911c3d4643de33
|
|
| BLAKE2b-256 |
240b792a25261edce4c4f85263049ac8521838efd1a2c88fa318902fee2da70c
|
Provenance
The following attestation bundles were made for sopel_hackernews-0.2.0.tar.gz:
Publisher:
pypi.yml on sopel-irc/sopel-hackernews
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sopel_hackernews-0.2.0.tar.gz -
Subject digest:
fc67ae841ea8ec4b110d62ea59a109a1dd629eb205f7d74183ec54dbb5729f26 - Sigstore transparency entry: 1527616520
- Sigstore integration time:
-
Permalink:
sopel-irc/sopel-hackernews@7ffdd887c15b6a7c8cf5af4372b5b4ce51fcbd63 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/sopel-irc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@7ffdd887c15b6a7c8cf5af4372b5b4ce51fcbd63 -
Trigger Event:
release
-
Statement type:
File details
Details for the file sopel_hackernews-0.2.0-py3-none-any.whl.
File metadata
- Download URL: sopel_hackernews-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4addecd9bfff7917f03b135c4cb587c861c86f61b18784b463c019075bd46c04
|
|
| MD5 |
df5dfe05f8ae99c0d860048b0a722b7d
|
|
| BLAKE2b-256 |
c04d32dc9a7b7f686a04ac1a340eb9b494111719fc853e45f176dbff843d7d18
|
Provenance
The following attestation bundles were made for sopel_hackernews-0.2.0-py3-none-any.whl:
Publisher:
pypi.yml on sopel-irc/sopel-hackernews
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sopel_hackernews-0.2.0-py3-none-any.whl -
Subject digest:
4addecd9bfff7917f03b135c4cb587c861c86f61b18784b463c019075bd46c04 - Sigstore transparency entry: 1527616577
- Sigstore integration time:
-
Permalink:
sopel-irc/sopel-hackernews@7ffdd887c15b6a7c8cf5af4372b5b4ce51fcbd63 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/sopel-irc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@7ffdd887c15b6a7c8cf5af4372b5b4ce51fcbd63 -
Trigger Event:
release
-
Statement type: