Skip to content

jaketothepast/llm-social-bot

Repository files navigation

jaketothepast/commit-to-social

A locally running service to post updates to Twitter using code that you're working on. You're already writing with each commit that you push, let this service be your social media manager!

config.edn

  • Configure the LLM that you want to use
  • Configure Jetty options

ChatGPT

  • :type openai, :key

Local

  • :type local, :url , :local-dir /directory/to/download/models/in, :n-ctx

environment.edn

  • Set up twitter credentials here

Running the Project

  • Add the following script to your Git hooks for post commit
#!/bin/sh

git format-patch -n HEAD^ --stdout | curl -X POST \
    http://localhost:8000/commit-msg -H 'Content-Type: text/plain' -d @-
  • Start the project with clj -A:run-m
  • Work on your code, see things get posted

Options

FIXME: listing of options this app accepts.

Examples

...

Bugs

...

Any Other Sections

That You Think

Might be Useful

License

Copyright © 2024 Jacob

EPLv1.0 is just the default for projects generated by deps-new: you are not required to open source this project, nor are you required to use EPLv1.0! Feel free to remove or change the LICENSE file and remove or update this section of the README.md file!

Distributed under the Eclipse Public License version 1.0.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published