https://github.com/ramity/logly
https://github.com/ramity/logly
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ramity/logly
- Owner: ramity
- Created: 2025-02-27T15:27:45.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-27T21:12:07.000Z (over 1 year ago)
- Last Synced: 2025-02-27T22:36:15.388Z (over 1 year ago)
- Language: PHP
- Size: 127 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
> Logly is a development solution that forwards browser errors and automatically generates PRs to resolve them.
```
var repo = 'your-repo-name';
var token = 'your-logly-token';
```
# 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









