Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marabesi/social-publisher
Social publisher allows you to schedule and publish posts into social media.
https://github.com/marabesi/social-publisher
kotlin social-network twitter
Last synced: 28 days ago
JSON representation
Social publisher allows you to schedule and publish posts into social media.
- Host: GitHub
- URL: https://github.com/marabesi/social-publisher
- Owner: marabesi
- Created: 2021-12-12T21:33:34.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-21T10:12:49.000Z (about 1 year ago)
- Last Synced: 2024-05-01T13:51:10.835Z (6 months ago)
- Topics: kotlin, social-network, twitter
- Language: Kotlin
- Homepage:
- Size: 476 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Social publisher - schedule posts on social network for developers
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/c7b738b1eb434894a1927f5a6aba588c)](https://www.codacy.com/gh/marabesi/social-publisher/dashboard?utm_source=github.com&utm_medium=referral&utm_content=marabesi/social-publisher&utm_campaign=Badge_Grade) [![Coverage Status](https://coveralls.io/repos/github/marabesi/social-publisher/badge.svg?branch=main)](https://coveralls.io/github/marabesi/social-publisher?branch=main)
Social publisher allows you to schedule and publish posts into social
media. At the moment, the current medias are supported:# Planned to be supported
# Refs
- https://kotlinlang.org/docs/command-line.html#compile-a-library
- https://picocli.info
- https://cucumber.io/docs/gherkin/reference# Running standalone
kotlin -classpath "/home/marabesi/Downloads/picocli-4.6.2.jar:build/libs/social-1.0-SNAPSHOT.jar" MainKt post -l
# Documentation
## Architectural decisions
- [Hex architecture - definition](https://marabesi.com/architecture/2022/04/13/hexagonal-architecture)
- [Hex architecture - stackoverflow thread](https://stackoverflow.com/a/14659492/2258921)## Local setup
Running cucumber without interacting with twitter:```
CUCUMBER_FILTER_TAGS="not @interactsWithTwitter" ./gradlew cucumber
```## Integrations
- https://developer.twitter.com/en/docs/authentication/oauth-1-0a
- https://developer.twitter.com/en/docs/authentication/oauth-1-0a/authorizing-a-request
- https://developer.twitter.com/en/docs/authentication/api-reference/request_token
- https://developer.twitter.com/en/docs/authentication/api-reference/authorize
- https://github.com/twitterdev/Twitter-API-v2-sample-code/blob/main/Manage-Tweets/create_tweet.js
- https://gist.github.com/robotdan/33f5834399b6b30fea2ae59e87823e1d
- https://developer.twitter.com/en/docs/twitter-api/v1/tweets/post-and-engage/api-reference/post-statuses-update
- https://docs.spring.io/spring-social-twitter/docs/1.1.0.RELEASE/reference/htmlsingle
- https://github.com/spring-attic/spring-social-twitter### Publishing to central
- [Publish to Maven Central using Gradle](https://h4pehl.medium.com/publish-your-gradle-artifacts-to-maven-central-f74a0af085b1)
## Junit + kotlin
- https://www.baeldung.com/kotlin/assertfailswith