{"id":21169761,"url":"https://github.com/andreasgrv/methinks","last_synced_at":"2025-03-14T17:23:53.036Z","repository":{"id":53529153,"uuid":"259130266","full_name":"andreasgrv/methinks","owner":"andreasgrv","description":"An attempt to keep myself organised","archived":false,"fork":false,"pushed_at":"2021-03-25T23:38:47.000Z","size":62,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-24T04:38:09.944Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andreasgrv.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}},"created_at":"2020-04-26T20:49:32.000Z","updated_at":"2020-05-17T19:39:54.000Z","dependencies_parsed_at":"2022-09-12T07:51:39.374Z","dependency_job_id":null,"html_url":"https://github.com/andreasgrv/methinks","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasgrv%2Fmethinks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasgrv%2Fmethinks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasgrv%2Fmethinks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasgrv%2Fmethinks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreasgrv","download_url":"https://codeload.github.com/andreasgrv/methinks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243616371,"owners_count":20319888,"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-11-20T15:53:37.474Z","updated_at":"2025-03-14T17:23:53.016Z","avatar_url":"https://github.com/andreasgrv.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# methinks\n\n## Features\nA vain attempt to make myself a bit more organized and supervisable.\n\n* Create a **markdown** diary entry per day.\n* Entries support **TODO**s and general **note-taking** sections which track history across days.\n* **Configure** your own sections - see [config](config/config.yaml) for config options.\n* If remote server is installed, files can be synced across computers.\n\nThis is still work in progress: first week of trial and error started on *Sun 2020-04-26 21:53*.\n\n## Installation\n\n### Install with local support only (persist files in local folder)\n\nNeed to pip install as **--user** so that scripts get added to user path\n```bash\npip install --user methinks\n```\n\nInstall methinks [config](config/config.yaml) locally by running:\n```bash\nmethinks-env\n```\n*(Optional): Modify [config](config/config.yaml) file, which has been installed under your home directory: `$HOME/.config/methinks/config.yaml`.*\n\nGenerate your first diary entry:\n```bash\ncd mydiaryfolder\ntoday\n```\n\nThat's you set up locally.\n\nUse `today` whenever you want to update or view your current entry. If a previous entry is found, information will be propagated into a fresh entry for today.\n\n### To persist files across computers, follow instructions below\n\n#### Setup server (needs to be accessible from other machines)\n```bash\ngit clone https://github.com/andreasgrv/methinks\npython3.7 -m venv .env\nsource .env/bin/activate\npip install -r requirements.txt\npip install -e .\n\n# You'll need to setup up a postgres database to match settings below\nexport METHINKS_DB_PORT=\"5432\"\nexport METHINKS_DB_USER=\"methinks\"\nexport METHINKS_DB_NAME=\"methinks\"\n\nexport METHINKS_DB_PASSWD=\"mypass\"\nexport METHINKS_TOKEN=\"My server token\"\n\ncd server\n./run.sh\n```\n\n#### Update client config to support sync with server\n\nOpen `$HOME/.config/methinks/config.yaml`, uncomment the remote section and adapt to your server setup carried out in the previous section.\n\n## Todos\n\n- [x] Add a blueprint to serve the files from a flask app\n- [x] Make template configurable\n- [ ] Make entries visible on my website\n- [ ] Implement search functionality\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreasgrv%2Fmethinks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreasgrv%2Fmethinks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreasgrv%2Fmethinks/lists"}