Compare commits

..

2 commits

Author SHA1 Message Date
5557dc9ab2
move urls to new domain, username 2025-06-27 18:07:35 -06:00
08a6bb2b5d
update tag names for builds 2025-06-27 12:47:49 -06:00
5 changed files with 15 additions and 15 deletions

View file

@ -17,7 +17,7 @@ With the above procedure, refractr can be used to mirror public repositories to
To install refractr using Cargo, run: To install refractr using Cargo, run:
```sh ```sh
cargo install --git https://git.brysonsteck.xyz/brysonsteck/refractr cargo install --git https://forge.steck.dev/bryson/refractr
``` ```
### Docker ### Docker
@ -25,19 +25,19 @@ cargo install --git https://git.brysonsteck.xyz/brysonsteck/refractr
To run refractr using Docker, run: To run refractr using Docker, run:
```sh ```sh
docker run -it git.brysonsteck.xyz/brysonsteck/refractr refractr docker run -it forge.steck.dev/bryson/refractr refractr
``` ```
You can build custom images with your configs using a [Dockerfile](Dockerfile), or you can build the image entirely from source using the [package Dockerfile](package.Dockerfile) that is used to create the base images: You can build custom images with your configs using a [Dockerfile](Dockerfile), or you can build the image entirely from source using the [package Dockerfile](package.Dockerfile) that is used to create the base images:
```sh ```sh
git clone https://git.brysonsteck.xyz/brysonsteck/refractr && cd refractr git clone https://forge.steck.dev/bryson/refractr && cd refractr
docker build -t refractr --build-arg UID=$(id -u) --build-arg GID=$(id -g) -f package.Dockerfile . docker build -t refractr --build-arg UID=$(id -u) --build-arg GID=$(id -g) -f package.Dockerfile .
``` ```
### Windows ### Windows
You can download pre-built binaries from the [Releases page](https://git.brysonsteck.xyz/brysonsteck/refractr/releases) or from my package mirror: You can download pre-built binaries from the [Releases page](https://forge.steck.dev/bryson/refractr/releases) or from my package mirror:
```powershell ```powershell
# Download the exe with PowerShell # Download the exe with PowerShell
@ -58,7 +58,7 @@ To build and run refractr from source, you may need some packages installed on y
```sh ```sh
# clone the repository # clone the repository
git clone https://git.brysonsteck.xyz/brysonsteck/refractr && cd refractr git clone https://forge.steck.dev/bryson/refractr && cd refractr
# build the release binary # build the release binary
cargo build --release cargo build --release
# build the debug binary (not recommended for normal use) # build the debug binary (not recommended for normal use)

14
build
View file

@ -17,13 +17,13 @@ fi
docker build -t refractr:$version -t refractr:$major_version -t refractr:latest \ docker build -t refractr:$version -t refractr:$major_version -t refractr:latest \
--build-arg VERSION=$version --build-arg DATE="$date" -f docker/Dockerfile . --build-arg VERSION=$version --build-arg DATE="$date" -f docker/Dockerfile .
if [ "$1" = "push" ]; then if [ "$1" = "push" ]; then
docker tag refractr:$version git.brysonsteck.xyz/brysonsteck/refractr:latest docker tag refractr:$version forge.steck.dev/bryson/refractr:latest
docker tag refractr:$version git.brysonsteck.xyz/brysonsteck/refractr:$version docker tag refractr:$version forge.steck.dev/bryson/refractr:$version
docker tag refractr:$version git.brysonsteck.xyz/brysonsteck/refractr:$major_version docker tag refractr:$version forge.steck.dev/bryson/refractr:$major_version
docker push -a git.brysonsteck.xyz/brysonsteck/refractr docker push -a forge.steck.dev/bryson/refractr
docker image rm git.brysonsteck.xyz/brysonsteck/refractr:latest docker image rm forge.steck.dev/bryson/refractr:latest
docker image rm git.brysonsteck.xyz/brysonsteck/refractr:$version docker image rm forge.steck.dev/bryson/refractr:$version
docker image rm git.brysonsteck.xyz/brysonsteck/refractr:$major_version docker image rm forge.steck.dev/bryson/refractr:$major_version
fi fi
# rust build # rust build

View file

@ -1,6 +1,6 @@
services: services:
refractr: refractr:
image: git.brysonsteck.xyz/brysonsteck/refractr:latest image: forge.steck.dev/bryson/refractr:latest
environment: environment:
# change these to your uid/gid # change these to your uid/gid
# if omitted, the container will guess # if omitted, the container will guess

View file

@ -88,7 +88,7 @@ refractr is free and open source! Please report any bugs in, provide feedback fo
.IR https://codeberg.org/brysonsteck/refractr .IR https://codeberg.org/brysonsteck/refractr
The Codeberg repository is proof of refractr at work. An upstream, read-only version of the repository is also available at: The Codeberg repository is proof of refractr at work. An upstream, read-only version of the repository is also available at:
.IR https://git.brysonsteck.xyz/brysonsteck/refractr .IR https://forge.steck.dev/bryson/refractr
.P .P
.SH LICENSE .SH LICENSE
Copyright 2025 Bryson Steck Copyright 2025 Bryson Steck

View file

@ -4,7 +4,7 @@
# The "from" field is a string of the original/main repository you want to pull # The "from" field is a string of the original/main repository you want to pull
# This field is REQUIRED and MUST start with "https://" or "ssh://" # This field is REQUIRED and MUST start with "https://" or "ssh://"
#from = "https://git.brysonsteck.xyz/brysonsteck/refractr" #from = "https://forge.steck.dev/bryson/refractr"
# The "to" field is a list of strings of the remotes you want to push the repo from the "from" field to # The "to" field is a list of strings of the remotes you want to push the repo from the "from" field to
# These repositories must exist on the remote server # These repositories must exist on the remote server