https://github.com/commit451/fetch
The simplest maven server
https://github.com/commit451/fetch
Last synced: about 1 year ago
JSON representation
The simplest maven server
- Host: GitHub
- URL: https://github.com/commit451/fetch
- Owner: Commit451
- License: mit
- Created: 2017-04-15T07:34:23.000Z (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2022-06-27T03:09:16.000Z (over 3 years ago)
- Last Synced: 2025-01-08T11:40:42.097Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://fetch.glitch.me/
- Size: 16.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License
Awesome Lists containing this project
README
# fetch
[](https://glitch.com/~fetch)
Private maven servers are complicated or pricey. fetch aims to make them simple and relatively free by storing artifacts on [Dropbox](https://www.dropbox.com/). All you need to do is remix this project on glitch.com and do a bit of configuration.
## Setup
1. [Remix](https://glitch.com/~fetch) this project on Glitch.com
2. Add your desired password and your [Dropbox access token](https://blogs.dropbox.com/developers/2014/05/generate-an-access-token-for-your-own-account/) to the `.env` file in Glitch. It'll look a little something like this:
```
# Environment Config
# store your secrets and config variables in here
# only invited collaborators will be able to see your .env values
# reference these in your code with process.env.SECRET
PASSWORD=some_password_you_like
DROPBOX_ACCESS_TOKEN=some_long_access_token_here
# note: .env is a shell file so there can't be spaces around =
```
Now, within your Gradle project, you just need to configure a custom maven repo:
```
maven {
credentials {
username 'admin'
password 'some_password_you_like'
}
url "https://yourproject.glitch.me/maven"
}
```
We recommend moving the username, password, and url out of the project itself and into a `gradle.properties` file in your home `.gradle` directory.
## Files
Your files are stored in Dropbox, under the folder `Apps/the-name-of-your-app/maven`. You can make backups, modify and delete files, and access the whole of your maven server within this folder structure.
Made with [glitch.com](https://glitch.com/)
-----------------
\ ćoć)ć
## License
fetch is available under the MIT license. See the LICENSE file for more info.