{"id":23097977,"url":"https://github.com/jagedn/docs-to-linkedin","last_synced_at":"2026-02-23T22:08:12.124Z","repository":{"id":267280588,"uuid":"900633503","full_name":"jagedn/docs-to-linkedin","owner":"jagedn","description":"Publish Google Documents to Linkedin with 1 click","archived":false,"fork":false,"pushed_at":"2024-12-09T12:21:51.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T08:28:53.960Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/jagedn.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":"2024-12-09T07:23:40.000Z","updated_at":"2024-12-09T12:21:55.000Z","dependencies_parsed_at":"2024-12-16T23:00:23.108Z","dependency_job_id":null,"html_url":"https://github.com/jagedn/docs-to-linkedin","commit_stats":null,"previous_names":["jagedn/docs-to-linkedin"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jagedn%2Fdocs-to-linkedin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jagedn%2Fdocs-to-linkedin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jagedn%2Fdocs-to-linkedin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jagedn%2Fdocs-to-linkedin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jagedn","download_url":"https://codeload.github.com/jagedn/docs-to-linkedin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247070927,"owners_count":20878586,"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-12-16T23:00:13.443Z","updated_at":"2026-02-23T22:08:07.103Z","avatar_url":"https://github.com/jagedn.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DocsToLinkedin\n\nDocsToLinkedin is a Google Apps Script project that allows users to upload their Google Docs directly to LinkedIn as posts. This project leverages LinkedIn's API for document uploads and OAuth2 for authentication.\n\n## Features\n\n- Upload Google Docs as LinkedIn posts.\n- OAuth2 authentication with LinkedIn.\n- Customizable sidebar interface within Google Docs.\n\n## Prerequisites\n\n- A Google account with access to Google Docs.\n- A LinkedIn Developer account to obtain API credentials.\n- Basic understanding of Google Apps Script.\n\n## Setup\n\n1. **Clone the Repository:**\n   - Download or clone this repository to your local machine.\n\n2. **LinkedIn API Setup:**\n   - Create a LinkedIn app at the [LinkedIn Developer Portal](https://www.linkedin.com/developers/).\n   - Obtain your `Client ID` and `Client Secret`.\n\n3. **Google Apps Script Setup:**\n   - Open Google Docs and navigate to `Extensions \u003e Apps Script`.\n   - Copy the contents of each file in this repository into the corresponding script files in the Apps Script editor.\n   - Rename `env-example.js.rename` to `env.js` and replace `'YOUR-LINKEDIN-CLIENT-ID'` and `'YOUR-LINKEDIN-CLIENT-SECRET'` with your LinkedIn app credentials.\n\n4. **Enable Advanced Services:**\n   - In the Apps Script editor, click on `Resources \u003e Advanced Google services...`.\n   - Enable the Google Docs API.\n\n5. **Deploy the Script:**\n   - Click on `Deploy \u003e Test deployments` to authorize the script and test it.\n   - Once tested, deploy it as a web app.\n\n## Usage\n\n- Open a Google Doc.\n- Click on `DocsToLinkedin` in the menu and select `Publicar ahora`.\n- If not authorized, follow the authorization flow to grant access.\n- Enter your post content in the sidebar and click `Publicar` to upload your document to LinkedIn.\n\n## Files\n\n- `static/base.html`: Main HTML template for the sidebar.\n- `static/header.html`: Header section for the sidebar.\n- `static/Runner.js.html`: JavaScript for handling script execution.\n- `static/style.css.html`: CSS for styling the sidebar.\n- `static/auth.html`: HTML template for the authorization page.\n- `appsscript.json`: Configuration file for the Apps Script project.\n- `Main.js`: Main script file for handling Google Docs interactions.\n- `Util.js`: Utility functions for LinkedIn API interactions.\n\n## Contributing\n\nContributions are welcome! Please fork the repository and submit a pull request for any improvements or bug fixes.\n\n## Contact\n\nFor any questions or issues, please contact [@jagedn](https://github.com/jagedn).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjagedn%2Fdocs-to-linkedin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjagedn%2Fdocs-to-linkedin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjagedn%2Fdocs-to-linkedin/lists"}