Skip to content

Commit 2d187f7

Browse files
committed
ww
1 parent f9ce06e commit 2d187f7

File tree

12 files changed

+85
-85
lines changed

12 files changed

+85
-85
lines changed

.github/workflows/release.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -56,21 +56,21 @@ jobs:
5656
- name: Prepare artifacts
5757
run: |
5858
mkdir "${{ matrix.target }}"
59-
artifact=wthrr-${{ matrix.target }}
60-
binary=wthrr
59+
artifact=ww-${{ matrix.target }}
60+
binary=ww
6161
if [[ $RUNNER_OS == "Windows" ]]; then
6262
ext=.exe
6363
elif [[ $RUNNER_OS == "Linux" ]]; then
64-
mv ./target/appimage/wthrr.AppImage "./${{ matrix.target }}/$artifact.AppImage"
65-
mv ./target/debian/wthrr*.deb "./${{ matrix.target }}/$artifact.deb"
64+
mv ./target/appimage/ww.AppImage "./${{ matrix.target }}/$artifact.AppImage"
65+
mv ./target/debian/ww*.deb "./${{ matrix.target }}/$artifact.deb"
6666
fi
6767
mv "./target/release/$binary$ext" "./${{ matrix.target }}/$artifact$ext"
6868
ls ${{ matrix.target }}
6969
- name: Upload artifacts
7070
uses: actions/upload-artifact@v4
7171
with:
72-
name: wthrr-${{ matrix.target }}
73-
path: ${{ matrix.target }}/wthrr*
72+
name: ww-${{ matrix.target }}
73+
path: ${{ matrix.target }}/ww*
7474
- name: Prepare release
7575
if: >
7676
github.repository_owner == 'ttytm'
@@ -79,7 +79,7 @@ jobs:
7979
if [ "$GITHUB_REF_TYPE" == tag ]; then
8080
{
8181
echo "TAG=$GITHUB_REF_NAME";
82-
echo "TITLE=wthrr ${GITHUB_REF_NAME:1}"; # v1.0.0 -> wthrr 1.0.0
82+
echo "TITLE=ww ${GITHUB_REF_NAME:1}"; # v1.0.0 -> ww 1.0.0
8383
} >> "$GITHUB_ENV"
8484
else
8585
{
@@ -102,7 +102,7 @@ jobs:
102102
&& ((github.ref_name == 'main' && github.event_name == 'push') || github.ref_type == 'tag')
103103
uses: softprops/action-gh-release@v2
104104
with:
105-
files: ${{ matrix.target }}/wthrr*
105+
files: ${{ matrix.target }}/ww*
106106
tag_name: ${{ env.TAG }}
107107
body: ${{ env.BODY }}
108108
name: ${{ env.TITLE }}

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[package]
2-
name = "wthrr"
2+
name = "ww"
33
version = "1.2.1"
44
authors = ["Turiiya <[email protected]>"]
55
edition = "2021"
66
license = "MIT"
77
description = "Weather companion for the terminal"
88
readme = "README.md"
9-
homepage = "https://github.com/ttytm/wthrr-the-weathercrab"
10-
repository = "https://github.com/ttytm/wthrr-the-weathercrab"
9+
homepage = "https://github.com/andygeorge/ww"
10+
repository = "https://github.com/andygeorge/ww"
1111
keywords = ["cli", "weather", "meteorological", "terminal"]
1212
categories = ["command-line-utilities"]
1313
rust-version = "1.74.0"
@@ -49,5 +49,5 @@ strip = true
4949
lto = true
5050

5151
[[bin]]
52-
name = "wthrr"
52+
name = "ww"
5353
path = "src/main.rs"

INSTALL.md

+17-17
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
## Contents
44

5-
- [Requirements](https://github.com/ttytm/wthrr-the-weathercrab/blob/main/INSTALL.md#requirements)
6-
- [Fonts](https://github.com/ttytm/wthrr-the-weathercrab/blob/main/INSTALL.md#fonts)
7-
- [Other requirements](https://github.com/ttytm/wthrr-the-weathercrab#other-requirements)
8-
- [Alternative installation methods](https://github.com/ttytm/wthrr-the-weathercrab/blob/main/INSTALL.md#alternative-installation-methods)
9-
- [Build from source](https://github.com/ttytm/wthrr-the-weathercrab/blob/main/INSTALL.md#build-from-source)
5+
- [Requirements](https://github.com/andygeorge/ww/blob/main/INSTALL.md#requirements)
6+
- [Fonts](https://github.com/andygeorge/ww/blob/main/INSTALL.md#fonts)
7+
- [Other requirements](https://github.com/andygeorge/ww#other-requirements)
8+
- [Alternative installation methods](https://github.com/andygeorge/ww/blob/main/INSTALL.md#alternative-installation-methods)
9+
- [Build from source](https://github.com/andygeorge/ww/blob/main/INSTALL.md#build-from-source)
1010

1111
# Requirements
1212

@@ -65,7 +65,7 @@ Package manager installation examples are shown below.
6565

6666
A Unicode symbol font("emoji-font") needs to be available on the system.
6767
It is likely already installed if you see emojis correctly rendered in your browser and in other applications.
68-
It will also allow to display line characters that are used in wthrrs daily weather graphs.
68+
It will also allow to display line characters that are used in wws daily weather graphs.
6969
Noto fonts that add support for Unicode glyphs are usually available via the package manager.
7070

7171
- macOS
@@ -83,7 +83,7 @@ Noto fonts that add support for Unicode glyphs are usually available via the pac
8383
It's enough to install the font, there is no need for configuration changes.
8484

8585
> **Note**
86-
> Depending on the used system and terminal another font package might be necessary. If you encounter missing glyphs in the graph: Instead of searching for the correct font package, you can also try setting a different graph style in the [config](https://github.com/ttytm/wthrr-the-weathercrab#config).
86+
> Depending on the used system and terminal another font package might be necessary. If you encounter missing glyphs in the graph: Instead of searching for the correct font package, you can also try setting a different graph style in the [config](https://github.com/andygeorge/ww#config).
8787
8888
</details>
8989

@@ -105,37 +105,37 @@ It's enough to install the font, there is no need for configuration changes.
105105

106106
There are several alternatives to the installation via `cargo`.
107107

108-
- Prebuilt binaries for GNU/Linux, macOS and Windows can be downloaded from the [GitHub release page](https://github.com/ttytm/wthrr-the-weathercrab/releases).
108+
- Prebuilt binaries for GNU/Linux, macOS and Windows can be downloaded from the [GitHub release page](https://github.com/andygeorge/ww/releases).
109109

110110
- If you are on NetBSD, a package is available from the official repositories.
111111
To install it, simply run
112112
```sh
113-
pkgin install wthrr
113+
pkgin install ww
114114
```
115115
- A Nix flake is also available
116116
```sh
117-
nix profile install "github:ttytm/wthrr-the-weathercrab"
117+
nix profile install "github:andygeorge/ww"
118118
```
119119
```sh
120-
nix run "github:tobealive/wthrr-the-weathercrab"
120+
nix run "github:tobealive/ww"
121121
```
122-
- On Arch Linux, `wthrr` can be installed from the [AUR](https://aur.archlinux.org/packages?O=0&SeB=nd&K=wthrr&outdated=&SB=p&SO=d&PP=50&submit=Go) using an [AUR helper](https://wiki.archlinux.org/title/AUR_helpers). For example:
122+
- On Arch Linux, `ww` can be installed from the [AUR](https://aur.archlinux.org/packages?O=0&SeB=nd&K=ww&outdated=&SB=p&SO=d&PP=50&submit=Go) using an [AUR helper](https://wiki.archlinux.org/title/AUR_helpers). For example:
123123
```
124-
paru -S wthrr
124+
paru -S ww
125125
```
126126
- On macOS, you can use Homebrew
127127
```
128-
brew install wthrr
128+
brew install ww
129129
```
130130

131131
## Build from source
132132

133133
To compile the app yourself, clone the repository and build the release version.
134134

135135
```sh
136-
git clone https://github.com/ttytm/wthrr-the-weathercrab.git
137-
cd wthrr-the-weathercrab
136+
git clone https://github.com/andygeorge/ww.git
137+
cd ww
138138
cargo build --release
139139
```
140140

141-
The resulting `wthrr` binary will be placed in the `./target/release` directory.
141+
The resulting `ww` binary will be placed in the `./target/release` directory.

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
MIT License
22

33
Copyright (c) 2022 Turiiya
4-
Copyright (c) 2023-2024 wthrr contributors
4+
Copyright (c) 2023-2024 ww contributors
55

66
Permission is hereby granted, free of charge, to any person obtaining a copy
77
of this software and associated documentation files (the "Software"), to deal

README.md

+40-40
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
1-
# 🦀 wthrr-the-weathercrab
1+
# 🦀 ww
22

3-
[![][ci_shield]](https://github.com/ttytm/wthrr-the-weathercrab/actions/workflows/ci.yml?query=branch%3Amain)
4-
[![][last_commit_shield]](https://github.com/ttytm/wthrr-the-weathercrab/commits/main)
5-
[![][crates_io_shield]](https://crates.io/crates/wthrr)
6-
[![][msrv_shield]](https://github.com/ttytm/wthrr-the-weathercrab)
3+
[![][ci_shield]](https://github.com/andygeorge/ww/actions/workflows/ci.yml?query=branch%3Amain)
4+
[![][last_commit_shield]](https://github.com/andygeorge/ww/commits/main)
5+
[![][crates_io_shield]](https://crates.io/crates/ww)
6+
[![][msrv_shield]](https://github.com/andygeorge/ww)
77

88
<div align="center">
99

1010
[![][preview]][preview]
1111

1212
</div>
1313

14-
`wthrr` lives in your terminal and her passion is meteorology.
14+
`ww` lives in your terminal and her passion is meteorology.
1515

1616
If you spend time in the TUI, you'll have a little companion nearby who knows about the weather.
1717

1818
## Contents
1919

20-
- [How to use?](https://github.com/ttytm/wthrr-the-weathercrab#how-to-use)
21-
- [Showcase](https://github.com/ttytm/wthrr-the-weathercrab#showcase)
22-
- [Config](https://github.com/ttytm/wthrr-the-weathercrab#config)
23-
- [Installation](https://github.com/ttytm/wthrr-the-weathercrab#installation)
24-
- [Outlook](https://github.com/ttytm/wthrr-the-weathercrab#outlook)
25-
- [Credits](https://github.com/ttytm/wthrr-the-weathercrab#credits)
20+
- [How to use?](https://github.com/andygeorge/ww#how-to-use)
21+
- [Showcase](https://github.com/andygeorge/ww#showcase)
22+
- [Config](https://github.com/andygeorge/ww#config)
23+
- [Installation](https://github.com/andygeorge/ww#installation)
24+
- [Outlook](https://github.com/andygeorge/ww#outlook)
25+
- [Credits](https://github.com/andygeorge/ww#credits)
2626

2727
## How to use?
2828

2929
**Just call**
3030

3131
```
32-
wthrr
32+
ww
3333
```
3434

35-
Without having added an address or options, wthrr uses the [config](https://github.com/ttytm/wthrr-the-weathercrab#config) saved as default.<br>
36-
If you haven't configured anything as default yet, wthrr can try to search for a weather station near you and save the searched location as default.
35+
Without having added an address or options, ww uses the [config](https://github.com/andygeorge/ww#config) saved as default.<br>
36+
If you haven't configured anything as default yet, ww can try to search for a weather station near you and save the searched location as default.
3737

3838
**It's always possible to specify an address.** E.g.,
3939

4040
```
41-
wthrr melbourne
41+
ww melbourne
4242
```
4343

4444
Depending on the place you are looking for, you might need to be more specific.
@@ -48,21 +48,21 @@ If the address contains spaces, separate them with a hyphen or enclose them in q
4848
To search explicitly for a weather station in the vicinity, call
4949

5050
```
51-
wthrr auto
51+
ww auto
5252
```
5353

54-
As a final example, we instruct wthrr to use Fahrenheit and mph as units and add the hourly forecast for the day
54+
As a final example, we instruct ww to use Fahrenheit and mph as units and add the hourly forecast for the day
5555

5656
```
57-
wthrr -u f,mph -f d
57+
ww -u f,mph -f d
5858
```
5959

6060
### Find further usage parameters in the help information
6161

6262
```
63-
> wthrr -h
63+
> ww -h
6464
65-
Usage: wthrr [OPTIONS] [ADDRESS]
65+
Usage: ww [OPTIONS] [ADDRESS]
6666
6767
Arguments:
6868
[ADDRESS]
@@ -80,7 +80,7 @@ Options:
8080
-s, --save
8181
Save the supplied values as default
8282
-r, --reset
83-
Wipe wthrr's configuration data
83+
Wipe ww's configuration data
8484
-h, --help
8585
Print help
8686
-V, --version
@@ -98,16 +98,16 @@ Options:
9898
| | |
9999

100100
<sup>\*Rendering and colors are influenced by the terminal used and its theme and font.<br>
101-
E.g., the first of the above screenshots show wthrr in nvim(toggleterm) using kitty as terminal with a Dracula theme and JetBrainsMono Nerd font. The last screenshot shows wthrr in Yakuake/Konsole, also with a Dracula color scheme.</sup>
101+
E.g., the first of the above screenshots show ww in nvim(toggleterm) using kitty as terminal with a Dracula theme and JetBrainsMono Nerd font. The last screenshot shows ww in Yakuake/Konsole, also with a Dracula color scheme.</sup>
102102

103103
## Config
104104

105-
The address, units and default forecast can be saved as default values in wthrr's config file by adding the `-s` flag to a run. This will save the config in `wthrr.ron`.
105+
The address, units and default forecast can be saved as default values in ww's config file by adding the `-s` flag to a run. This will save the config in `ww.ron`.
106106

107107
**Platform locations:**<br>
108-
Lin: `~/.config/weathercrab/`<br>
109-
Mac: `~/Library/Application Support/weathercrab/`<br>
110-
Win: `%USERPROFILE%\AppData\Roaming\weathercrab\`
108+
Lin: `~/.config/ww/`<br>
109+
Mac: `~/Library/Application Support/ww/`<br>
110+
Win: `%USERPROFILE%\AppData\Roaming\ww\`
111111

112112
**Default values**
113113

@@ -139,14 +139,14 @@ Win: `%USERPROFILE%\AppData\Roaming\weathercrab\`
139139

140140
## Installation
141141

142-
Use rusts package manger to install wthrr.
142+
Use rusts package manger to install ww.
143143

144144
**From crates.io**
145145

146146
| | |
147147
| ----------- | --------------------- |
148148
| **Version** | **Command** |
149-
| release | `cargo install wthrr` |
149+
| release | `cargo install ww` |
150150
| | |
151151
| development | _not available_ |
152152
| | |
@@ -156,28 +156,28 @@ Use rusts package manger to install wthrr.
156156
| | |
157157
| ----------- | --------------------------------------------------------------------------------- |
158158
| **Version** | **Command** |
159-
| release | `cargo install --git https://github.com/ttytm/wthrr-the-weathercrab --tag v1.1.1` |
159+
| release | `cargo install --git https://github.com/andygeorge/ww --tag v1.1.1` |
160160
| | |
161-
| development | `cargo install --git https://github.com/ttytm/wthrr-the-weathercrab` |
161+
| development | `cargo install --git https://github.com/andygeorge/ww` |
162162
| | |
163163

164-
**Requirements and alternative, platform-specific installation instructions can be found in [`INSTALL.md`](https://github.com/ttytm/wthrr-the-weathercrab/blob/main/INSTALL.md).**
164+
**Requirements and alternative, platform-specific installation instructions can be found in [`INSTALL.md`](https://github.com/andygeorge/ww/blob/main/INSTALL.md).**
165165

166166
> **Important**
167167
> To display symbols correctly, the used terminal must be configured to use a NerdFont.
168168
169169
## Outlook
170170

171-
The [issues](https://github.com/ttytm/wthrr-the-weathercrab/issues) section lists some of the features that are being worked on.
171+
The [issues](https://github.com/andygeorge/ww/issues) section lists some of the features that are being worked on.
172172

173173
Contributions like 🐛bug reports, ⭐️stars and 💡suggestions are welcome alike!
174174

175-
A simple changelog can be found on the [releases page](https://github.com/ttytm/wthrr-the-weathercrab/releases).
175+
A simple changelog can be found on the [releases page](https://github.com/andygeorge/ww/releases).
176176

177177
## Contributors
178178

179-
<a href="https://github.com/ttytm/wthrr-the-weathercrab/graphs/contributors">
180-
<img height='48' src="https://contrib.rocks/image?repo=ttytm/wthrr-the-weathercrab&columns=24" />
179+
<a href="https://github.com/andygeorge/ww/graphs/contributors">
180+
<img height='48' src="https://contrib.rocks/image?repo=andygeorge/ww&columns=24" />
181181
</a>
182182

183183
## Credits
@@ -188,10 +188,10 @@ A simple changelog can be found on the [releases page](https://github.com/ttytm/
188188

189189
<!-- Images -->
190190

191-
[preview]: https://github.com/ttytm/wthrr-the-weathercrab/assets/34311583/58780205-816b-4cfd-95f8-9453e754eb94
192-
[crates_io_shield]: https://img.shields.io/crates/v/wthrr?style=flat-square&color=DEA584
193-
[ci_shield]: https://img.shields.io/github/actions/workflow/status/ttytm/wthrr-the-weathercrab/ci.yml?branch=main&style=flat-square
194-
[last_commit_shield]: https://img.shields.io/github/last-commit/ttytm/wthrr-the-weathercrab?style=flat-square
191+
[preview]: https://github.com/andygeorge/ww/assets/34311583/58780205-816b-4cfd-95f8-9453e754eb94
192+
[crates_io_shield]: https://img.shields.io/crates/v/ww?style=flat-square&color=DEA584
193+
[ci_shield]: https://img.shields.io/github/actions/workflow/status/andygeorge/ww/ci.yml?branch=main&style=flat-square
194+
[last_commit_shield]: https://img.shields.io/github/last-commit/andygeorge/ww?style=flat-square
195195
[msrv_shield]: https://img.shields.io/badge/MSRV-1.74.0-DEA584?style=flat-square
196196
[first_run]: https://user-images.githubusercontent.com/34311583/219735581-8036590f-8354-47fb-a31f-055be79c9229.png
197197
[hourly_forecast]: https://user-images.githubusercontent.com/34311583/219735474-d8e2899d-c209-46d3-a5cd-bea4ed41ac3c.png

flake.nix

+5-5
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
system:
1414
let
1515
pkgs = import nixpkgs { inherit system; };
16-
wthrr-the-weathercrab =
16+
ww =
1717
{
1818
lib,
1919
openssl,
2020
pkg-config,
2121
rustPlatform,
2222
}:
2323
rustPlatform.buildRustPackage {
24-
name = "wthrr-the-weathercrab";
24+
name = "ww";
2525
src = lib.cleanSource ./.;
2626
cargoLock.lockFile = ./Cargo.lock;
2727
nativeBuildInputs = [
@@ -38,16 +38,16 @@
3838

3939
meta = with lib; {
4040
license = licenses.mit;
41-
homepage = "https://github.com/ttytm/wthrr-the-weathercrab";
41+
homepage = "https://github.com/andygeorge/ww";
4242
platforms = platforms.all;
4343
};
4444
};
4545
in
4646
{
47-
packages.default = pkgs.callPackage wthrr-the-weathercrab { };
47+
packages.default = pkgs.callPackage ww { };
4848
apps.default = {
4949
type = "app";
50-
program = "${self.outputs.packages.${system}.default}/bin/wthrr";
50+
program = "${self.outputs.packages.${system}.default}/bin/ww";
5151
};
5252
}
5353
);

0 commit comments

Comments
 (0)