https://github.com/dm3/memory
Bookmarking tool
https://github.com/dm3/memory
Last synced: 11 months ago
JSON representation
Bookmarking tool
- Host: GitHub
- URL: https://github.com/dm3/memory
- Owner: dm3
- Created: 2011-05-09T09:16:05.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2011-08-22T21:47:58.000Z (over 14 years ago)
- Last Synced: 2025-01-10T15:14:53.244Z (about 1 year ago)
- Language: Shell
- Homepage:
- Size: 127 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.mkd
Awesome Lists containing this project
README
# Introduction
Memory is a github based utility which helps you store and view links. Storage
works on top of git infrastructure while viewing links works through
github-pages.
## Commands
1. Storing links - `memory store http://reddit.com/r/programming "Programming subreddit"`.
2. Deleting links - not supported :). Potentially `memory` could support
editing/removing non-pushed submissions. Pushed submissions _could_ be
allowed to be edited which would not be handled by `git` which, in turn,
would add a lot of complexity.
3. Tagging links - using `git notes`.
## Viewing Links
A github account is required for this to work. Memory will store links in a
dedicated repository and generate the view into the `gh_pages` branch.
## How-to
### Initialize a repository
1. `git co git@github.com:dm3/memory.git memory && cd memory`
2. `cp templates/.memoryrc ~/`, edit the `.memoryrc` file to make it correspond to your needs and add `source` it in `.bash_profile` (or wherever you please)
3. `memory_store http://some.link "My first memory"`
* At this point a git repository will be created at the location specified in `.memoryrc`
4. Create an empty github repository. Let's say it's located under `github_username/github_repo_name`
5. `memory_github_assoc github_username github_repo_name`
6. `memory_generate_view`
7. `memory_push`
### Use the repository on a different machine
1. `git co git@github.com:dm3/memory.git memory && cd memory`
2. `cp templates/.memoryrc ~/`, edit and `source`
3. `memory_github_retrieve github_username github_repo_name`
## TODO
* Make the default generated view usable
* Simplify the initialisation process