mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-03 21:29:59 -05:00
Zim/Kiwix (Wikipedia) feature
* A new zim module has been added, this module allows several things to interact with Zim files. * Allow searching of Zim files using libzim. * Allow downloading of Kiwix projects (wikipedia, wikibooks, etc) on a schedule which replaces the outdated files. * Creation of a new zim docker container which allows viewing of the Zim file contents. * This commit also adds move/rename/mkdir features in the File Browser. * File tags are preserved when moving/renaming.
This commit is contained in:
parent
cc5ab4e339
commit
03a2df217d
117 changed files with 6393 additions and 1100 deletions
|
|
@ -20,6 +20,7 @@ import {useEventsInterval} from "./Events";
|
|||
import {SemanticToastContainer} from "react-semantic-toasts-2";
|
||||
import {FilePreviewProvider} from "./components/FilePreview";
|
||||
import {TagsProvider} from "./Tags";
|
||||
import {ZimRoute} from "./components/Zim";
|
||||
|
||||
function PageNotFound() {
|
||||
const {t} = useContext(ThemeContext);
|
||||
|
|
@ -63,6 +64,7 @@ const router = createBrowserRouter(createRoutesFromElements(<Route
|
|||
errorElement={<PageNotFound/>}
|
||||
>
|
||||
<Route index element={<Dashboard/>}/>
|
||||
<Route path='search/*' element={<Dashboard/>}/>
|
||||
<Route path='donate' element={<Donate/>}/>
|
||||
<Route path='videos/video/:videoId' exact element={<VideoWrapper/>}/>
|
||||
<Route path='videos/channel/:channelId/video/:videoId' exact element={<VideoWrapper/>}/>
|
||||
|
|
@ -72,6 +74,7 @@ const router = createBrowserRouter(createRoutesFromElements(<Route
|
|||
<Route path="inventory/*" element={<InventoryRoute/>}/>
|
||||
<Route path='archive/*' element={<ArchiveRoute/>}/>
|
||||
<Route path='map/*' element={<MapRoute/>}/>
|
||||
<Route path='zim/*' element={<ZimRoute/>}/>
|
||||
<Route path='files/*' element={<FilesRoute/>}/>
|
||||
</Route>));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue