Discord bot made with go to interact with the Weblens API
Lenny (Formerly Webby) is a self-hosted discord bot that integrates with Weblens and its available API.
Weblens is a self-hosted file manager and photo server. It allows you to manage files, with history, backups, and restoration. And allows file sharing with users or anonymous guests.
Lenny (Formerly Webby) is a discord bot written in go. It integrates with Webby through its API, allowing you to upload and share files using slash commands in discord.
Currently you are able to upload and share files to Weblens through Webby.
/upload allows you to upload a file and gives you the option to generate a shared link for the file.
/share generates a shared link for the file given
/help gives an overview of how to use the commands
/info gives you some basic info about the Weblens server you are connected to!
/delete deletes the given file by its name, autocompletes filename with "modifiable" files
/search is a work in progress search command. Behavior is expected to change!
- Upload: Currently, files are just uploaded to the user's home directory. I plan to implement the ability to upload files in an organized manner, allowing you to either create a new folder, or upload to an existing one.
- Search
- Search is already implemented on a basic level, but needs a slight rework behaviorly with what is delivered back to the user. May outright get deprecated as a public command.
- Its core is currently used to serve the autocomplete functionality of /share and /delete.
- Search is already implemented on a basic level, but needs a slight rework behaviorly with what is delivered back to the user. May outright get deprecated as a public command.
- Help: Add a command parameter that'll give specific info about how to use that command
- Media Integration
- Features more deeply integrated with the photo server components, rather than just the file server component.
TODO: Write up deployment docs
TODO: Write a contributing guide
I was asked by the project lead on Weblens to help out by coming up with ways to test its API. What was meant to be just a way to help contribute by testing, turned into its own project. What's a better way to test an API besides building something with it! This turned into an outlet for me to learn Go. I had never worked with Go before and it has been an amazing experience learning the language.