Skip to content

Commit

Permalink
Update github action
Browse files Browse the repository at this point in the history
  • Loading branch information
bendews committed Mar 27, 2024
1 parent c59d930 commit 514cf43
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 31 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/deno.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# This workflow will install Deno then run `deno lint` and `deno test`.
# For more information see: https://github.com/denoland/setup-deno

name: Deno

on:
Expand Down Expand Up @@ -33,8 +25,16 @@ jobs:
- name: Verify formatting
run: deno fmt --check

- name: Run linter
run: deno lint
- name: Verify formatting
run: deno fmt --check

- name: Build
run: mkdir dist
&& deno compile --unstable-net --no-check --allow-all --target x86_64-apple-darwin --output apw-x86_64-apple-darwin /src/cli.ts
&& deno compile --unstable-net --no-check --allow-all --target aarch64-apple-darwin --output apw-aarch64-apple-darwin /src/cli.ts

- name: Run tests
run: deno test -A
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: dist/*
44 changes: 25 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<a name="readme-top"></a>

<div align="center">
<a href="https://github.com/bendews/apw">
<img src="icon.png" alt="Logo" width="80" height="80">
</a>

<h3 align="center">Apple Passwords CLI</h3>
<h3 align="center">Apple Passwords CLI</h3>

<p align="center">
<p align="center">
A CLI for access to Apple Passwords. A foundation for enabling integration and automation.
<br />
<a href="https://github.com/bendews/apw"><strong>Explore the docs »</strong></a>
Expand All @@ -20,11 +21,11 @@
</p>

[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Forks][forks-shield]][forks-url] [![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![MIT License][license-shield]][license-url]
<br />

</div>

<details>
Expand All @@ -47,18 +48,20 @@
</ol>
</details>



<!-- ABOUT THE PROJECT -->

## About The Project

This project introduces a CLI interface designed to access iCloud passwords and OTP tokens. The core objective is to provide a secure and straightforward way to retrieve iCloud passwords, facilitating integration with other systems or for personal convenience.
This project introduces a CLI interface designed to access iCloud passwords and
OTP tokens. The core objective is to provide a secure and straightforward way to
retrieve iCloud passwords, facilitating integration with other systems or for
personal convenience.

It utilises a built in helper tool in macOS 14 and above to facilitate this functionality.
It utilises a built in helper tool in macOS 14 and above to facilitate this
functionality.

<p align="right">(<a href="#readme-top">back to top</a>)</p>


## Getting Started

Ensure homebrew is installed or build from source.
Expand Down Expand Up @@ -104,19 +107,22 @@ Commands:
auth - Authenticate CLI with daemon.
pw - Interactively list accounts/passwords.
otp - Interactively list accounts/OTPs.
start - Start the daemon.
start - Start the daemon.
```

<p align="right">(<a href="#readme-top">back to top</a>)</p>


<!-- CONTRIBUTING -->

## Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.
Contributions are what make the open source community such an amazing place to
learn, inspire, and create. Any contributions you make are **greatly
appreciated**.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!
If you have a suggestion that would make this better, please fork the repo and
create a pull request. You can also simply open an issue with the tag
"enhancement". Don't forget to give the project a star! Thanks again!

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
Expand All @@ -140,19 +146,19 @@ Project Link: [https://github.com/bendews/apw](https://github.com/bendews/apw)

<p align="right">(<a href="#readme-top">back to top</a>)</p>



<!-- ACKNOWLEDGMENTS -->

## Acknowledgments

* [au2001 - iCloud Passwords for Firefox](https://github.com/au2001/icloud-passwords-firefox) - their SRP implementation was _so_ much better than mine it's embarassing. It is now based on their far superior implementation.
- [au2001 - iCloud Passwords for Firefox](https://github.com/au2001/icloud-passwords-firefox) -
their SRP implementation was _so_ much better than mine it's embarassing. It
is now based on their far superior implementation.

<p align="right">(<a href="#readme-top">back to top</a>)</p>



<!-- MARKDOWN LINKS & IMAGES -->
<!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->

[contributors-shield]: https://img.shields.io/github/contributors/bendews/apw.svg?style=for-the-badge
[contributors-url]: https://github.com/bendews/apw/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/bendews/apw.svg?style=for-the-badge
Expand Down

0 comments on commit 514cf43

Please sign in to comment.