Skip to content
forked from tw93/Pake

ZaloAlt, a more (or less) user friendly version of Zalo, based on Rust and Tauri (and Pake)

License

Notifications You must be signed in to change notification settings

imchocomint/ZaloAlt

 
 

Repository files navigation

ZaloAlt

Alternative Zalo client built using Rust, Tauri and Pake.

Features

  • Lighter than the official Zalo app (in term of program size)
  • Faster (probably)
  • Never take your storage for granted
  • Support Linux (hey someone please test it for me)

What it will/won't do

will:

  • replace Zalo web
  • work in any platform without missing crucial feature
  • idk

won't

Roadmap

Phase 1

  • Initial release
  • Basic modification and other platforms' build

Phase 2

  • Adding support for dark mode and such
  • ? who knows?

To the future

Shortcuts


Mac Windows/Linux Function
+ [ Ctrl + Return to the previous page
+ ] Ctrl + Go to the next page
+ Ctrl + Auto scroll to top of page
+ Ctrl + Auto scroll to bottom of page
+ r Ctrl + r Refresh Page
+ w Ctrl + w Hide window, not quite
+ - Ctrl + - Zoom out the page
+ + Ctrl + + Zoom in the page
+ = Ctrl + = Zoom in the Page
+ 0 Ctrl + 0 Reset the page zoom

In addition, double-click the title bar to switch to full-screen mode. For Mac users, you can also use the gesture to go to the previous or next page and drag the title bar to move the window.

Compile (for ZaloAlt)

General guide for Pake

Pake provides a command line tool, making the flow of package customization quicker and easier. See documentation for more information.

npm install -g pake-cli
pake chat.zalo.me --name Zalo --icons <path/to/icon.ico>

Development (for Pake only)

Prepare your environment before starting. Make sure you have Rust >=1.63 and Node >=16 (e.g., 16.18.1) installed on your computer. For installation guidance, see Tauri documentation.

If you are unfamiliar with these, it is better to try out the above tool to pack with one click.

# Install Dependencies
npm i

# Local development [Right-click to open debug mode.]
npm run dev

# Pack application
npm run build

Todo:

  1. Rewrite or change documents to fit the project
  2. You can refer to the codebase structure before working on Pake, which will help you much in development.
  3. Modify the url and productName fields in the pake.json file under the src-tauri directory, the "domain" field in the tauri.config.json file needs to be modified synchronously, as well as the icon and identifier fields in the tauri.xxx.conf.json file. You can select an icon from the icons directory or download one from macOSicons to match your product needs.
  4. For configurations on window properties, you can modify the pake.json file to change the value of width, height, fullscreen (or not), resizable (or not) of the windows property. To adapt to the immersive header on Mac, change hideTitleBar to true, look for the Header element, and add the padding-top property.
  5. For advanced usages such as style rewriting, advertisement removal, JS injection, container message communication, and user-defined shortcut keys, see Advanced Usage of Pake.

A thank-you list to be added

Frequently Asked Questions

  1. Right-clicking on an image element in the page to open the menu and select download image or other events does not work (common in MacOS systems). This issue is due to the MacOS built-in webview not supporting this feature.

Support Pake, the base of the project

  1. I have two cats, TangYuan and Coke. If you think Pake delights your life, you can feed them some canned food 🥩.
  2. If you like Pake, you can star it on GitHub. Also, welcome to recommend Pake to your friends.
  3. You can follow my Twitter to get the latest news of Pake or join our Telegram chat group.
  4. I hope that you enjoy playing with it. Let us know if you find a website that would be great for a Mac App!

Support me

  1. Star this project
  2. Give me some ideas to test with
  3. Help me to build Linux and macOS binaries. I don't have any of these devices.

About

ZaloAlt, a more (or less) user friendly version of Zalo, based on Rust and Tauri (and Pake)

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages

  • Rust 100.0%