This is a Raycast extension for cPanel User level accounts (Admin and Reseller not supported). With this extension you can View Domains and their DNS Zones, Email Accounts and their Disk Usage.
Install extension: Click the Install Extension button in the top right of this page OR via Raycast Store
Enter your cPanel Details: The first time you use the extension, you'll need to enter the following in Preferences OR at first prompt:
a. The URL of your cPanel instance (w/ Port)
b. cPanel Username
c. cPanel API Token
Sign In to your cPanel instanceNavigate to "Manage API Tokens" (if you do not see it, your provider may have disabled API access and you wil have to ask them to enable it)Create and Enter desired Token Name (for expiration, select "The API Token will not expire" unless you are comfortable rotating keys)Reseller and Admin accounts as well as WHM accounts are not guaranteed to work.| module | function | extension command | comments |
|---|---|---|---|
| DomainInfo | list_domains | Domains | |
| DNS | mass_edit_zone | Domains > View DNS Zone > Create DNS Record | add limited records + del |
| DNS | parse_zone | Domains > View DNS Zone | |
| add_pop | Email Accounts > Create Email Account | ||
| list_pops | Email Accounts | ||
| list_pops_with_disk | Email Accounts > View Disk Information | ||
| Ftp | list_ftp_with_disk | FTP Accounts | |
| Ftp | add_ftp | FTP Accounts > Create FTP Account | |
| Fileman | get_file_content | Files > View File | |
| Fileman | list_files | Files | |
| Mysql | dump_database_schema | Databases > View Schema | |
| Mysql | list_databases | Databases | |
| Postgresql | dump_database_schema | Databases > View Schema | |
| Postgresql | list_databases | Databases | |
| ResourceUsage | get_usages | Account | |
| Tokens | create_full_access | API Tokens | |
| Tokens | list | API Tokens | |
| Tokens | revoke | API Tokens | |
| UserManager | change_password | Account > Update Password | |
| Variables | get_user_information | Account |
You may also be interested in:
View Email Accounts and their Disk Information
View Domains and their DNS Zones
View MySQL or PostgreSQL Databases
View Directories and Files
View Account
View FTP Accounts and their Disk Information
Create, manage and delete API Tokens
package-lock.json to remove stale transitive entries (including got/electron) that were no longer part of the installed dependency graph.callUAPI for better error handlingcallUAPI func that wraps native fetchFilesFTP AccountsFTP AccountsFiles via PreferencesFilesDatabasesAccountsAccountsA, AAAA, CNAME, TXT records