https://github.com/devidw/memoresa

https://github.com/devidw/memoresa

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (4.7%) to scientific vocabulary
Last synced: 4 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: devidw
  • Language: TypeScript
  • Default Branch: main
  • Size: 2.93 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 3 years ago · Last pushed about 3 years ago
Metadata Files
Readme

readme.adoc

= Memoresa Bulk Helper

== Concepts

=== Authentication

Copy the `token` cookie from the website into an environment variable:

[source,sh]
----
export MEMORESA_TOKEN=…
----


=== Caching

API responses are written in JSON files onto disk in a `./cache` directory.
Delete the directory to reset the cache.


== Export

Memoresa has an export feature, but unfortunately - for me - the download dies after a few
seconds and never finishes.

To be able to still export, this is a deno script that downloads all attachments and
organizes them into directories with the name of the matter. Original file names
of the attachments are respected.

[source,plain]
----
out/
  some-matter/
    some-attachment.pdf
    another-attachment.jpg
  yet-another-matter/
    attachment.pdf
----

=== Usage

[source,sh]
----
deno run --allow-all ./export.ts
----

=== Empty files

For me, 2 of a few hundred downloads resulted in empty files, to identify them:

[source,sh]
----
find ./out -type f -empty -iname '*.pdf'
----


== Delete

Bulk delete _all_ your matters.

=== Usage

For now you have to run the export before, since this script depends on the matters
cache.

Feel free to make a PR to handle this in a more elegant way.

[source,sh]
----
deno run --allow-all ./delete.ts
----

Owner

  • Name: David Wolf
  • Login: devidw
  • Kind: user
  • Location: The Zone

// uncommenting

GitHub Events

Total
Last Year

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 2
  • Total Committers: 1
  • Avg Commits per committer: 2.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
David Wolf 6****w 2

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels