Skip to content

ramity/logly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logly is a development solution that forwards browser errors and automatically generates PRs to resolve them.

<script src="https://this-doesn-t-exist-yet.com/logly.js">
  var repo = 'your-repo-name';
  var token = 'your-logly-token';
</script>

Getting Started

Login on our website, add your application, and use your application. Clyde the AI will handle the rest.

Pricing

  • Repo storage
  • Automated PRs
  • Issues

Rolling out your own

Update env files

Copy paste .env.dist to .env files in docker dir

Build and start containers

docker compose up -d

Exec into backend container

docker exec -it logly_backend bash

Composer update repo

composer update

Run migrations

bin/console doctrine:migrate

Load fixtures

bin/console doctrine:fixtures:load

PAT for Clyde - Enable the docker container to act as Clyde

(interactive)

gh auth login
github.com
SSH
id_ed25519.pub
GitHub CLI

Goto https://github.com/settings/tokens (pick classic tokens) and provide 'repo', 'read:org', 'admin:public_key' permissions

Paste the result

Add logly to your application

import { Logly } from 'logly';

Logly.init({
  url: 'your-logly-backend-server-url/ingest'
  repo: 'your-repo-name',
  token: 'your-github-token',
});

(Mock example)

Enable cylde to make suggestions

  • Add feed.js source to your repo
  • Add Clyde as a contributor

How it works

Adding the feed.js script allows for it to intercept all errors that are generated on the client. These logs are forwarded to a central server which also has a copy of the repo's source code on file. Using the error and filename, the source code of the offending file is located and obtained. Now with the required pieces:

  • LLM prompt is created
  • LLM response is generated
  • Code is extracted and updated
  • Git operations are performed
  • GitHub operations are performed

Software

javascript php docker-ollama docker ollama qwen2 5 symfony github-cli composer mariadb

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published