{"id":16906543,"url":"https://github.com/rsms/memex","last_synced_at":"2025-03-22T10:31:12.845Z","repository":{"id":66105798,"uuid":"370161079","full_name":"rsms/memex","owner":"rsms","description":"Software for archiving my digital stuff like tweets","archived":false,"fork":false,"pushed_at":"2021-05-24T16:40:23.000Z","size":41,"stargazers_count":48,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-15T21:17:05.847Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rsms.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-23T21:30:04.000Z","updated_at":"2025-01-20T06:26:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"f88f5bf6-0744-4e4f-816b-d14757cab904","html_url":"https://github.com/rsms/memex","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsms%2Fmemex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsms%2Fmemex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsms%2Fmemex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsms%2Fmemex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rsms","download_url":"https://codeload.github.com/rsms/memex/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244943732,"owners_count":20536290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T18:43:10.932Z","updated_at":"2025-03-22T10:31:12.386Z","avatar_url":"https://github.com/rsms.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rsms's memex\n\nSoftware for managing my digital information, like tweets.\n\n\n## Usage\n\nFirst check out the source and build. You'll need Make and Go installed.\n\n```sh\ngit clone https://github.com/rsms/memex.git\ncd memex\nmake\n```\n\nThen make your memex data directory by starting from a copy of the example directory.\nThis directory can be anywhere you like and will hold your data and service configs.\n\n```sh\ncp -a path-to-source-of/memex/example-memexdir ~/memex\n```\n\nYou can also start with an empty directory, e.g. `mkdir ~/memex`.\n\nNext, export the path of your memex directory in your environment:\n\n```sh\nexport MEMEX_DIR=$HOME/memex\n# optional: add to you shell's init script:\necho \"export MEMEX_DIR=$MEMEX_DIR\" \\\n\u003e\u003e ~/`[[ $SHELL == *\"/zsh\" ]] \u0026\u0026 echo .zshrc || echo .bashrc`\n```\n\nFinally, run the memex service:\n\n```sh\npath-to-source-of/memex/bin/memex\n```\n\nThe `memex` program is a service manager, much like an operating system service manager like\nsystemd it manages services (processes). It takes care of restarting processes when they exit,\nstart, restart or stop processes when their configuration files changes and collect all logs\nand outputs in one place. This makes it easy to \"run a lot of processes\" with a single command\n(`memex`), and similarly to stop them all (^C.)\n\nThe `memex` program looks in your `MEMEX_DIR` for files called `memexservice.yml` which it treats\nas \"service configurations\". These YAML files describes what command to run as the service process,\nwhat arguments to pass it, its environment, it it's been temporarily disabled or not, and so on.\n\nChanges to these files are automatically detected and you don't need to restart memex when making\nchanges to these \"service config\" files.\n\nService processes are started with a working directory of the configuration file.\nI.e. `~/memex/foo/bar/memexservice.yml` with `start:./bar` will start a process `./bar` in\nthe directory `~/memex/foo/bar`.\n\nSee `example-memexdir/foo/memexservice.yml` for a full example and more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsms%2Fmemex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frsms%2Fmemex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsms%2Fmemex/lists"}