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
- Website: https://david.wolf.gdn
- Repositories: 159
- Profile: https://github.com/devidw
// uncommenting
GitHub Events
Total
Last Year
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