Skip to content

Commit

Permalink
Add delivery-tracker extension
Browse files Browse the repository at this point in the history
- Update dependencies one more time
- Screenshots
- Update empty delivery welcome message
- Fix Typescript compile issue
- Update README.md
- Do npm run build during CI
- Add migrate script
- Merge pull request raycast#36 from halprin/link-to-tracking
- Add action to open the tracking webpage in the browser
- Expose function to generate tracking URL
- Merge pull request raycast#22 from halprin/renovate/all-minor
- Update dependency @raycast/api to v1.91.1
- Merge pull request raycast#35 from halprin/usps-no-remote-tracking
- Fix lint
- Allow editing the manual delivery date
- Pipe the manual delivery date through the tracking algorithm so it can be used
- Add the manual delivery date to the new delivery view
- Strip USPS API key from preferences and logic
- Add ability to determine if remote tracking works
- Update dependency @types/node to v20.17.17 (raycast#34)
- Update dependency @types/node to v20.17.16 (raycast#33)
- Update dependency @types/node to v20.17.15 (raycast#32)
- Update dependency @types/node to v20.17.14 (raycast#31)
- Update dependency @types/node to v20.17.13 (raycast#30)
- Update dependency typescript to v5.7.3 (raycast#29)
- Update dependency @types/node to v20.17.12 (raycast#28)
- Update dependency @types/react to v18.3.18 (raycast#27)
- Update dependency @types/react to v18.3.17 (raycast#26)
- Add support to copy the tracking number to the clipboard
- Update dependency @types/node to v20.17.10 (raycast#25)
- Update dependency @types/react to v18.3.16 (raycast#24)
- Update dependency @types/react to v18.3.15 (raycast#23)
- Update dependency @types/react to v18.3.14 (raycast#20)
- Update dependency @types/react to v18.3.13 (raycast#19)
- Update dependency prettier to v3.4.2 (raycast#18)
- Update dependency prettier to v3.4.1 (raycast#17)
- Update dependency prettier to v3.4.0 (raycast#16)
- Update dependency @types/node to v20.17.9 (raycast#15)
- Update dependency @types/node to v20.17.8 (raycast#14)
- Update dependency typescript to v5.7.2 (raycast#13)
- Update dependency @raycast/api to v1.86.1 (raycast#12)
- rename provider to carrier
- Add pull-contributions script
- Remove eslint-plugin-react-hooks from dependencies
- Make UPS orange
- fix lint
- Add an empty list view
- Update descriptions and strings
- Update changelog
- Need to go back to eslint 8 cause raycast uses older dependencies
- Merge pull request raycast#5 from halprin/renovate/major-eslint-monorepo
- Add FexEx to README
- Document UPS on README
- Update readme with new links
- Initial filled out README
- fix lint
- Get the delivery edit to work correctly with initial values
- Add ability to edit deliveries
- Move UPS and FedEx to production hosts
- fix lint
- Add FedEx tracking
- Add FedEx preferences
- Add initial USPS tracking
- Fix adding new deliveries
- Remove unneeded console log
- Fill in details about the packages in the detail view
- Add more metadata fields to the detail view
- Start making showdetailview
- Update dependency eslint to v9
- Update dependency @raycast/api to v1.86.0 (raycast#10)
- Update dependency @types/node to v20.17.7 (raycast#9)
- map item to delivery
- Refresh deliveries
- Tracking to Delivery
- fix lint
- show loading when updating tracking
- only update packages when after 30 minutes
- fix lint
- Add error handling and display of errors
- Dedicated view for the new action
- Merge branch \'main\' of https://github.com/halprin/raycast-package-tracker
- Use props correctly in a re-usable component
- Update dependency @raycast/utils to v1.18.1 (raycast#8)
- Fix lint
- Go away from a Map of Package array
- Add UPS API support
- Correct imports
- Set debug flag to true for the debug data
- Update title of the UPS secrets
- rename preferences and add UPS preference
- Merge branch \'main\' of https://github.com/halprin/raycast-package-tracker
- Add an ID to the different providers
- Update dependency typescript to v5.6.3 (raycast#7)
- Update dependency eslint to v8.57.1 (raycast#6)
- Rename the debug data file
- Update extension icon to something slightly better
- Fix linting
- New Delivery view is separate now so it works from both commands
- rename plugin and commands
- Add USPS preferences
- correct optionalize Track
- Packages are separated from Track and are cached
- Use useLocalStorage util instead of my own one
- Get package-lock.json in sync
- Precise version numbers for dev dependencies
- Update dependency @types/node to v20.17.6 (raycast#3)
- Update dependency @types/react to v18.3.12 (raycast#2)
- Add CI GitHub action
- Fix linting issues
- Ask for confirmation before deleting deliveries
- Delete a delivery entry
- Adding a new item pops the stack and shows up
- Store newly tracked packages
- Fill out form to track a new delivery
- Set Add delivery to show up in main view
- load the temp data only when in a development environment
- Actually use the react state for the tracking list
- load the tracking state via useEffect
- Make TypeScript compiler happy
- Sort tracking by delivery date
- support multiple packages for the icon and delivery date
- Add package model
- Add Renovate config
- Commit baseline Package Tracker extension
- Initial commit
  • Loading branch information
halprin committed Feb 12, 2025
1 parent f6c39bd commit dcfcb57
Show file tree
Hide file tree
Showing 27 changed files with 6,368 additions and 0 deletions.
4 changes: 4 additions & 0 deletions extensions/delivery-tracker/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"root": true,
"extends": ["@raycast"]
}
13 changes: 13 additions & 0 deletions extensions/delivery-tracker/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules

# Raycast specific files
raycast-env.d.ts
.raycast-swift-build
.swiftpm
compiled_raycast_swift

# misc
.DS_Store
4 changes: 4 additions & 0 deletions extensions/delivery-tracker/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"printWidth": 120,
"singleQuote": false
}
8 changes: 8 additions & 0 deletions extensions/delivery-tracker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Delivery Tracker Changelog

## [Initial Release] - {PR_MERGE_DATE}

The initial release. Has support for...
- UPS.
- FedEx.
- USPS.
21 changes: 21 additions & 0 deletions extensions/delivery-tracker/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 halprin

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
56 changes: 56 additions & 0 deletions extensions/delivery-tracker/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Delivery Tracker

[Original repository](https://github.com/halprin/raycast-delivery-tracker).

Tracks deliveries, packages, and parcels in Raycast. Remembers your deliveries, so you can keep watch as they make
their way to you.

This extension does not use a third-party tracking service as a proxy. It directly integrates with each supported
carrier, which allows you to be in charge of your privacy.

## Supported Carriers

A carrier can either support online updating of the tracking over the Internet or not. You are able to specify a manual
delivery date for a delivery from a carrier that does not support online updating or a carrier that's missing
credentials.

### United Parcel Service (UPS)

In the settings, you'll need two things to access the UPS API.
- Client ID.
- Client secret.

Navigate to the [UPS Developer Portal](https://developer.ups.com/) and walk through the getting started steps.

The name of the app can be anything and is only for you. You do not need a callback URL. Pick the option that you want
to integrate UPS in your business because you are _not_ representing other users for why you need API credentials. Make
sure to add the Tracking API product. You'll need a shipper account tied to your normal UPS account; UPS will walk you
through this process if you don't have one yet.

### Federal Express (FedEx)

In the settings, you'll need two things to access the FedEx API.
- API key.
- Secret key.

Navigate to the [FedEx Developer Portal](https://developer.fedex.com/) and walk through the getting started steps.

Select the track API when creating the API project. The name of the project can be anything and is only for you. After
creating the project, you'll need to subsequently create the production key and use that in this extension. Do not use
the test key, or you'll get incorrect tracking information. The name of the production key name can be anything.

### United States Postal Service (USPS)

While the USPS does support online updating of the tracking over the Internet, they only seem to allow large enterprise
companies or companies that will also be actively sending packages. Therefore, I have not been able to verify code that
works, so the USPS carrier only supports setting manual delivery dates for now.

## Contributing

Feel free to file an issue or fork and PR on the
[original repository](https://github.com/halprin/raycast-delivery-tracker) or through the
[main extension repository](https://github.com/raycast/extensions)
[workflow](https://developers.raycast.com/basics/contribute-to-an-extension).

If you are adding support for a new carrier, you can take inspiration from the [existing carriers](./src/carriers).
Please update the documentation here on how one signs-up for the carrier and gets any API keys.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit dcfcb57

Please sign in to comment.