{"id":13622155,"url":"https://github.com/pokiiio/GooglePhotoMarkdowner","last_synced_at":"2025-04-15T05:33:50.163Z","repository":{"id":37219204,"uuid":"136331044","full_name":"pokiiio/GooglePhotoMarkdowner","owner":"pokiiio","description":"GooglePhotoにアップロードした写真を、ブログなどで貼り付けられる形式に変換するアプリです。","archived":false,"fork":false,"pushed_at":"2022-12-07T19:22:14.000Z","size":297,"stargazers_count":3,"open_issues_count":11,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-08-01T21:51:40.764Z","etag":null,"topics":["electron","googlephotos","html","markdown"],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pokiiio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-06T13:15:14.000Z","updated_at":"2022-07-31T15:25:16.000Z","dependencies_parsed_at":"2023-01-23T19:20:17.068Z","dependency_job_id":null,"html_url":"https://github.com/pokiiio/GooglePhotoMarkdowner","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/pokiiio%2FGooglePhotoMarkdowner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pokiiio%2FGooglePhotoMarkdowner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pokiiio%2FGooglePhotoMarkdowner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pokiiio%2FGooglePhotoMarkdowner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pokiiio","download_url":"https://codeload.github.com/pokiiio/GooglePhotoMarkdowner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223661390,"owners_count":17181662,"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":["electron","googlephotos","html","markdown"],"created_at":"2024-08-01T21:01:14.920Z","updated_at":"2024-11-08T09:30:59.470Z","avatar_url":"https://github.com/pokiiio.png","language":"HTML","funding_links":[],"categories":["HTML"],"sub_categories":[],"readme":"![GooglePhotoMarkdowner](https://lh3.googleusercontent.com/VJeaj3tkhfHbpqDExWv8R8IIX0iejbAjo4MpwQcRijWqiDUphPXc9WCOH5SSSt3CKmX1HGdri6bHOSqV_s2run51KjlseQMunI7-hapA-z3AiNLFc63deC_DAQ06BN22UZe9_Gu85yI=s600 \"GooglePhotoMarkdowner\")\n\n# GooglePhotoMarkdowner\nGooglePhotoにアップロードした写真を、ブログなどで貼り付けられる形式に変換するアプリです。\n\n\n\n## 概要\n - Google Photo上の画像への共有リンクを作成し、そのページのOGP画像のリンクを取得\n - そのリンクを取得したり、そのリンクを使ってMarkdown記法のリンクやHTML記法のリンクを生成します\n - Electronで実装されていますが、アプリ自体は各自でビルドして頂く必要があります\n\n\n## ビルド方法\n\n\n`npm`とかが利用可能であることが前提です。\nまずはビルドに必要なファイルを`npm`をつかって取得します。\n\n\n```bash\ncd path/to/GooglePhotoMarkdowner/\nnpm install\ncd ./src\nnpm install\n```\n\n\n`npm run build-macOS`でmacOS向けのバイナリをビルドします。`npm run build-windows`でWindows向けのバイナリも作れるかもしれませんが、~~試してないのでわかりません。~~ **Windows10で問題なくビルドできました。動作も問題なさそうです。**\n\n\n```bash\ncd path/to/GooglePhotoMarkdowner/\nnpm run build-macOS\n```\n\n\nビルドが終わると、`GooglePhotoMarkdowner-darwin-x64`というフォルダが作られ、その中にアプリ（`.app`ファイル）があります。それをタブルクリックで起動するか、`open`コマンドで起動します。\n\n\n```bash\ncd path/to/GooglePhotoMarkdowner/\nopen ./GooglePhotoMarkdowner-darwin-x64/GooglePhotoMarkdowner.app/\n```\n\n\n## 使い方\n\n\nブログなどで使いたい写真をGoogle Photoにアップロードします。その写真を開いて、共有ボタンを押します。\n\n\n![GooglePhotoMarkdowner](https://lh3.googleusercontent.com/_HeT8euOoTY33ik1j7p3sF1x1ADTLnecod3K9it7oiIHb-4Yaujcctnbw57JCTUC5io95AmlE5s431Y1ToyPpQi-fG2qPXyDMMdAo4JmY622Sq9e0SCIBBY3X1Jt8QY0tYNY-E96Gnw=s600 \"GooglePhotoMarkdowner\")\n\n\n\nリンクを取得します。\n\n\n\n![GooglePhotoMarkdowner](https://lh3.googleusercontent.com/EvxhT5N-ui4cporNh-JhMISCNarXKYNbLFwqDO-xVHImaaGFyE0kpZNxrag7uQCefWx-S0ZEaQTI1XlDKGGNYdfdDOXsXN5LYdndHH5twlOYvDhSLHwcpk4zr_7_kUG_LlqNq7IzMK8=s600 \"GooglePhotoMarkdowner\")\n\n\n\n生成されたURLをコピーします。\n\n\n![GooglePhotoMarkdowner](https://lh3.googleusercontent.com/dGWEVWMyk0NgK01FEs7UxST0jV1hPG8s1jYuWGHrDtdsdmjLTuc9sgNlI-4EAjNX2qCNMyniOJsPzxxdwCsEgGiYlFBVWF38hXD7iiFoWnj9eeP-I7tFzgzqjFzqvIaIR4UFXmjx-Lo=s600 \"GooglePhotoMarkdowner\")\n\n\n\nアプリを起動して、URLを貼り付けます。変換ボタンを押すと、種々の文字列を生成します。\n\n\n\n![GooglePhotoMarkdowner](https://lh3.googleusercontent.com/K4OTMP2zEZ1q5eYV6PTbOk4yViaRU2iAywzbFSXImru_s8F2cV2G0NQe8JqpjsUeHbBQNc7Bs5rG2ZjhWJl-daB54mrhxNcFfDslXZ7MBpPyI_NsIqORQimrwLht_3Pwuhx918P7x6Y=s600 \"GooglePhotoMarkdowner\")\n\n\n\nGoogle PhotoへのリンクURLから、下記のような誰でもアクセスできるURLを生成します。\n\n\n```html\nhttps://lh3.googleusercontent.com/xxxxx=s600\n```\n\n\nまた、同時にMarkdown記法の文字列も生成します。\n\n\n```markdown\n![GooglePhotoMarkdowner](https://lh3.googleusercontent.com/xxxxx=s600 \"GooglePhotoMarkdowner\")\n```\n\n\n念のため、HTML記法の文字列も生成します。\n\n\n```html\n\u003cimg src=\"https://lh3.googleusercontent.com/xxxxx=s600\" alt=\"GooglePhotoMarkdowner\" title=\"GooglePhotoMarkdowner\"\u003e\n```\n\n\n\n## その他\n\n - はじめてのElectronなので、よくわかってないです。\n - 本当はGoogle PhotoじゃなくてGoogle Photosでした。\n - もろもろ許してください。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpokiiio%2FGooglePhotoMarkdowner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpokiiio%2FGooglePhotoMarkdowner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpokiiio%2FGooglePhotoMarkdowner/lists"}