garret

Version, currently main branch1 version
  • main branchlatestDec 21, 2020

github.com/Uzay-G/garret

Simple firefox export file to markdown conversion using Crystal

7 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  garret:
    github: Uzay-G/garret
    branch: main

main is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
0.35.1
License
MIT
Author
your-name-here <your-email-here>
Target
  • garret from src/garret.cr

Dependencies

This version declares no dependencies.

README

# garret

Simple CLI to convert your bookmarks to organized and readable markdown.

## Installation

Build with [Crystal](https://crystal-lang.org):

```bash
$ crystal build src/garret.cr
```


## Usage

```
garret
    --file-path PATH                 Path of bookmarks file.
    -i PATH, --ignored PATH          Path of patterns to ignore.
    -o PATH, --output-path PATH      Path to store markdown output. Default: attic.md
    -h, --help                       Show help
```

The ignored file should look like this:

```
Folders:
School
ComputerScience/
--
URLS:
wikipedia
google.com
khanacademy
```

This file will then be parsed and if a url / folder of bookmarks matches the pattern, it won't be in the output.

## Contributing

1. Fork it (https://github.com/Uzay-G/garret/fork)
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

## Contributors

- [Uzay-G](https://github.com/Uzay-G) - creator and maintainer