HVML / PurC-Fetcher

The remote data fetcher for PurC.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PurC Fetcher

PurC Fetcher is a remote data fetcher for PurC.

Introduction

This software is a part of HVML project.

PurC Fetcher runs as a standalone process to fetch data from the given remote URLs for your C/C++ program. It is derived from WebKit.

If you want your HVML program can fetch data from a remote URLs, you need build and install this software to your system.

Note that, although PurC Fetcher runs as a proxy for PurC, you can use PurC Fetcher for your any generic C/C++ program.

Currently, PurC Fetcher only runs on Linux system. It is possible to run it on macOS, but we did not test it yet. We encourage everyone to port PurC Fetcher to other platforms, such as Windows, Android, iOS, etc.

Note that, PurC Fetcher depends on glib 2.44+, gio, and libsoup.

For more information about HVML, you can visit the following URLs:

Source Tree of PurC Fetcher

PurC Fetcher implements the data fetcher for the PurC. It is mainly written in C/C++ language and provides bindings for Python.

The source tree of PurC Fetcher contains the following modules:

  • Source/PurCFetcher/include/: The global header files.
  • Source/PurCFetcher/include/private: The internal common header files.
  • Source/PurCFetcher/utils/: Some basic and common utilities.
  • Source/PurCFetcher/instance/: The operations of PurCFetcher instances and sessions.
  • Source/PurCFetcher/auxiliary/: Some auxiliary classes.
  • Source/PurCFetcher/database/: Implement the database(sqlite) interface by C++.
  • Source/PurCFetcher/ipc/: Interprocess communication.
  • Source/PurCFetcher/messages/: The message templates for IPC.
  • Source/PurCFetcher/network/: Implementation of network data fetcher
  • Source/PurCFetcher/ports/: The ports for different operating systems, such as a POSIX-compliant system or Windows.
  • Source/WTF/: The simplified WTF (Web Template Framework) from WebKit.
  • Source/cmake/: The cmake modules.
  • Source/ThirdParty/: The third-party libraries, such as gtest.
  • Source/test/: The unit test programs.
  • Source/samples/: Examples for using the interfaces of PurCFetcher.
  • tools/: The tools (executables), e.g., the command line program.
  • docs/: Some documents for developers.

Building

To build PurC Fetcher, run the following commands in the root of the source tree:

rm -rf build && cmake -DCMAKE_BUILD_TYPE=Debug -DPORT=Linux -B build && cmake --build build

Authors and Contributors

Copying

Copyright (C) 2021, 2022 FMSoft (https://www.fmsoft.cn)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Tradmarks

  1. HVML is a registered tradmark of Beijing FMSoft Technologies. Co., Ltd. in China and other contries or regions.

HVML

  1. 呼噜猫 is a registered tradmark of Beijing FMSoft Technologies. Co., Ltd. in China and other contries or regions.

呼噜猫

  1. Purring Cat is a tradmark of Beijing FMSoft Technologies. Co., Ltd. in China and other contries or regions.

Purring Cat

  1. PurC is a tradmark of Beijing FMSoft Technologies. Co., Ltd. in China and other contries or regions.

PurC

About

The remote data fetcher for PurC.

License:GNU Lesser General Public License v3.0


Languages

Language:C++ 92.1%Language:C 2.8%Language:CMake 2.2%Language:Objective-C 1.2%Language:Python 1.0%Language:Objective-C++ 0.6%Language:Ruby 0.1%Language:Awk 0.0%Language:Makefile 0.0%