Skip to content

Lgdev07/linkeshare

Repository files navigation

LinkeShare

LinkeShare

Share your articles automatically on linkedin 🔗

Made with Elixir 🚀

GitHub language count Made by Lgdev07 License Stargazers

Installation and execution   |    How to contribute   

📖 Blogs Supported

  • Dev To

🚀 Installation and execution

  1. Clone this repository and go to the directory;
  2. Get the access token and author ID from Linkedin Api: https://docs.microsoft.com/pt-br/linkedin/shared/authentication/authorization-code-flow
  3. Rename sample.env to .env and put the variables form step 2;
  4. Deploy the application in your preferable cloud service, I recommend gigalixir.
  5. Create a webhook on DevTo with the url from step 4: https://docs.forem.com/api/#operation/createWebhook
  6. Create a post on Dev To, this should share the article on linkedin.

🔧 Development

  1. Run mix phx.server;

🧪 Tests

  1. Run mix test;

🤔 How to contribute

  • Fork this repository;
  • Create a branch with your feature: git checkout -b my-feature;
  • Commit your changes: git commit -m 'feat: My new feature';
  • Push to your branch: git push origin my-feature.

After the merge of your pull request is done, you can delete your branch.


About

Share your articles automatically on linkedin

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages