Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alvarogarcia7/link-collection
A piece of software to store your links
https://github.com/alvarogarcia7/link-collection
collection link perl recutils
Last synced: about 1 month ago
JSON representation
A piece of software to store your links
- Host: GitHub
- URL: https://github.com/alvarogarcia7/link-collection
- Owner: alvarogarcia7
- Created: 2018-06-20T14:41:49.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-24T10:42:24.000Z (4 months ago)
- Last Synced: 2024-08-24T11:46:15.129Z (4 months ago)
- Topics: collection, link, perl, recutils
- Language: Perl
- Homepage:
- Size: 3.99 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Link Collection
Data repository for links.
Previously, this repository contained a suite of Perl tools to CRUD data. As of 2024-08, they have been removed (see commit [365b8374](https://github.com/alvarogarcia7/link-collection/commit/365b837406a12e884f31ba62d5b222960c1ed56f)).
## Installation
```
make build
```## Selecting by tag
```
recsel -e "Tag ~ 'bye'" link.rec
```Selects only the records containing bye as a tag
## Other notes
```
recsel -e '!(Tag ~ "bye")' link.rec
```Selects the ones that do not include bye in the first Tag
Maybe needs to materialize tags?
## Inserting
use `make run`, then `./bin/insert.pl`, follow the wizard
raw:
```
recins -t Link -f Title -v "Hello World!" -f Tag -v hello -f Tag -v bye link.rec
```## Exporting (e.g., for markdown)
Read the goals `make select`, `make convert`, `make put-together`.
For a general reference, see `make generate-all`.
# Links
https://www.gnu.org/software/recutils/manual/recutils.html
# Misc
## Generating tags
use `make select`, see 'tags.txt' file
Remember that the tags are automatically generated when you `generate-all`.
## Massive import
Use something like
```
# Start a new container with bash
echo "30529727" | ./bin/insert-import-auto.pl "craftsmanship" ; sleep 3
(many lines)
```and let it run for a while. It works as of 2023-03-13.
In todoist-integration there is a file called `hackernews_massive_importer.py`.