{"id":13456427,"url":"https://github.com/pereorga/minimalist-web-notepad","last_synced_at":"2025-05-15T17:07:19.513Z","repository":{"id":4182470,"uuid":"5299409","full_name":"pereorga/minimalist-web-notepad","owner":"pereorga","description":"Minimalist Web Notepad","archived":false,"fork":false,"pushed_at":"2024-08-31T18:59:20.000Z","size":147,"stargazers_count":1245,"open_issues_count":0,"forks_count":296,"subscribers_count":31,"default_branch":"master","last_synced_at":"2025-03-31T21:46:50.422Z","etag":null,"topics":["editor","javascript","notepad","php","web"],"latest_commit_sha":null,"homepage":"https://notes.orga.cat","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pereorga.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2012-08-04T22:53:41.000Z","updated_at":"2025-03-31T13:12:00.000Z","dependencies_parsed_at":"2024-10-15T02:11:24.301Z","dependency_job_id":null,"html_url":"https://github.com/pereorga/minimalist-web-notepad","commit_stats":{"total_commits":155,"total_committers":13,"mean_commits":"11.923076923076923","dds":0.5806451612903225,"last_synced_commit":"8ce8e95b8db7f2cfad0877ec59ed732e4db3e6f7"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pereorga%2Fminimalist-web-notepad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pereorga%2Fminimalist-web-notepad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pereorga%2Fminimalist-web-notepad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pereorga%2Fminimalist-web-notepad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pereorga","download_url":"https://codeload.github.com/pereorga/minimalist-web-notepad/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247737788,"owners_count":20987721,"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":["editor","javascript","notepad","php","web"],"created_at":"2024-07-31T08:01:21.690Z","updated_at":"2025-04-07T22:08:32.540Z","avatar_url":"https://github.com/pereorga.png","language":"PHP","funding_links":[],"categories":["PHP","Software","Apps","Note-taking and Editors","笔记 \u0026 编辑器"],"sub_categories":["Note-taking \u0026 Editors","Writing","Video Streaming","视频流"],"readme":"# Minimalist Web Notepad\n\nThis is an open-source clone of the now-defunct notepad.cc: \"a piece of paper in the cloud\".\n\nSee demo at https://notes.orga.cat or https://notes.orga.cat/whatever.\n\n## Installation\n\nMake sure the web server is allowed to write to the `_tmp` directory.\n\n### On Apache\n\nYou may need to enable mod_rewrite and allow `.htaccess` files in your site configuration.\nSee [How To Set Up mod_rewrite for Apache](https://www.digitalocean.com/community/tutorials/how-to-set-up-mod_rewrite-for-apache-on-ubuntu-14-04).\n\n### On Nginx\n\nTo enable URL rewriting, put something like this in your configuration file:\n\nIf the project resides in the root directory:\n```\nlocation / {\n    rewrite ^/([a-zA-Z0-9_-]+)$ /index.php?note=$1;\n}\n```\n\nIf the project resides in a subdirectory:\n```\nlocation ~* ^/notes/([a-zA-Z0-9_-]+)$ {\n    try_files $uri /notes/index.php?note=$1;\n}\n```\n\nIf parameters need to be passed in Nginx (such as `?raw`), then `\u0026$args` needs to be added to the end of the `$1` match:\n```\nlocation ~* ^/notes/([a-zA-Z0-9_-]+)$ {\n    try_files $uri /notes/index.php?note=$1\u0026$args;\n}\n```\n\n## Usage (CLI)\n\nUsing the command-line interface you can both save and retrieve notes. Here are some examples using `curl`:\n\nRetrieve a note's content and save it to a local file:\n\n```\ncurl https://example.com/notes/test \u003e test.txt\n```\n\nSave specific text to a note:\n\n```\ncurl https://example.com/notes/test -d 'hello,\n\nwelcome to my pad!\n'\n```\n\nSave the content of a local file (e.g., `/etc/hosts`) to a note:\n\n```\ncat /etc/hosts | curl https://example.com/notes/hosts --data-binary @-\n```\n\n## Copyright and license\n\nCopyright 2012 Pere Orga \u003cpere@orga.cat\u003e\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this work except in compliance with the License.\nYou may obtain a copy of the License at:\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpereorga%2Fminimalist-web-notepad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpereorga%2Fminimalist-web-notepad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpereorga%2Fminimalist-web-notepad/lists"}