npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

rijksarchief-dl

v1.0.1

Published

A command line tool to download images from the Belgian National Archives

Downloads

2

Readme

rijksarchief-dl

Dependency Status devDependency Status npm

A command line tool to download images from the Belgian National Archives

Prerequisites

You'll need to have Node.js and npm installed. This was only tested with npm 5.0.3 and Node.js 8.0.0, but it should work on the latest version.

Table of Contents

Installation

BEFORE YOU INSTALL: please read the prerequisites

$ yarn global add rijksarchief-dl
# or...
$ npm install -g rijksarchief-dl

Usage

Go to search.arch.be and make an account. You'll only be able to browse and view scans if you're logged in.

Use the search functionality to find archives relevant to your search. Make sure to check 'Alleen toegangen met scans' to only show archives with images publicly accessible from the website.

When you've found an archive, browse the available images and open the one you want. You should be able to view the image through some Adobe Flash applet. At this point, copy the url: it should contain a code in the form of XXX_XXXX_XXX_XXXXX_XXX_X_XXXX, this is used to identify and download the correct image.

Example

rijksarchief-dl --url "http://search.arch.be/nl/zoeken-naar-archieven/zoekresultaat/inventaris/rabscan/dao/1/eadid/BE-A0546_005577_006261_FRE/inventarisnr/I626100000001/afbeelding/546_0091_000_00575_000_0_0002.tjp"

Arguments

| Long | Short | Description | Required | |---------------- |------- |--------------------------------------------------------------------------------------------------------------------------------------- |--------------------------------- | | --help | -h | Output usage information | no | | --version | -V | Output the version number | no | | --url [url] | -u | The url of the image | yes | | --scale-factor | -s | The scale factor of the image: determines the resolution, the bigger the scale factor, the smaller the image (options: 1,2,4,8,16,32) | no (default: 1) | | --out-dir | -d | The folder in which the image will be saved | no (default: working directory) | | --save-tiles | -t | Save the seperate tiles | no (default: false) | | --open-image | -o | Open the image when finished | no (default: true) |