Skip to main content

archivy-hn allows users to sync the posts they've upvoted on hacker news to their Archivy knowledge base.

It is an official extension developed by archivy.

demo

Install

You need to have archivy already installed.

Run pip install archivy_hn (or pip3 if you're on ubuntu).

Usage

Refer below to see the commands and options you can run:

Usage: archivy hn-sync [OPTIONS]

  Pull your upvoted or favorited posts from Hacker News and save their
  contents into your knowledge base

Options:
  --post-type TEXT    Whether to sync upvoted posts or favorited ones. One of
                      'upvoted' or 'favorites'

  --save-comments     Whether or not the hacker news comments should also be
                      saved.

  --username TEXT     Username on Hacker News  [required]
  --hn-password TEXT
  --help              Show this message and exit.

Install in Docker

To install this plugin inside the official Docker image for Archivy, do the following:

  1. docker exec -u 0 archivy apk add libxml2-dev to install the libxml2-dev dependency.
  2. docker exec -u 0 archivy apk add libxslt-dev to install the libxslt-dev dependency.
  3. docker exec archivy pip install archivy_hn to install the plugin.

Usage in Docker

To execute commands within the container, use the docker exec -it archivy archivy hn-sync [OPTIONS] format. For example: docker exec -it archivy archivy hn-sync --username example --hn-password password --save-comments.

Contributing

You can open any issues or feature requests here.

You can also talk to me directly on the Archivy discord server

Metadata

Release files for archivy-hn 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for archivy-hn 0.5.0
File Size Uploaded
archivy_hn-0.5.0.tar.gz 5.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for archivy-hn 0.5.0
File Interpreter ABI Platform
archivy_hn-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.4 MB

Release files / archivy_hn-0.5.0.tar.gz

Download URL archivy_hn-0.5.0.tar.gz
Size 5.4 MB
Tags Source
SHA-256 checksum
How to use checksums
52947c1d63f3c2474c21c5b834ad6221cc2a761c91ebe08cda77c05e0740579b
BLAKE2b-256 checksum
How to use checksums
1cd9c7c505bd01205cf25664652b4a0f8d237ffcdff324c3e522abdc4de55a3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/57.4.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.7

Release files / archivy_hn-0.5.0-py3-none-any.whl

Download URL archivy_hn-0.5.0-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
65fefcae7eb7dcb7d56bc4abc2293da6a1761645edcf22443a25db7f914f935e
BLAKE2b-256 checksum
How to use checksums
8823a2c733db559ccfe94a977e1537286beb068de3b505fd4dbbf723cd8f565d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/57.4.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.7

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page