Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nightroman/farlite
PowerShell module with LiteDB browser in Far Manager
https://github.com/nightroman/farlite
farmanager litedb powershell
Last synced: 29 days ago
JSON representation
PowerShell module with LiteDB browser in Far Manager
- Host: GitHub
- URL: https://github.com/nightroman/farlite
- Owner: nightroman
- License: apache-2.0
- Created: 2020-02-11T19:17:45.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-01-01T10:19:12.000Z (about 2 years ago)
- Last Synced: 2024-10-30T12:13:26.192Z (3 months ago)
- Topics: farmanager, litedb, powershell
- Language: PowerShell
- Homepage:
- Size: 37.1 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FarLite
[LiteDB]: https://www.litedb.org/
[Far Manager]: https://en.wikipedia.org/wiki/Far_Manager
[FarNet.PowerShellFar]: https://github.com/nightroman/FarNet/wiki/PowerShellFar
[Ldbc]: https://github.com/nightroman/LdbcPowerShell module with [LiteDB] browser in [Far Manager]
Requires Far Manager with [FarNet.PowerShellFar] and [Ldbc]
## How to start
Install Ldbc and FarLite modules from the PowerShell gallery by these commands:
```powershell
Install-Module Ldbc
Save-Module FarLite -Path $env:FARHOME\FarNet\Modules\PowerShellFar\Modules
```You can use the usual `Install-Module FarLite` command, too.
But the module works only in PowerShellFar.In Far Manager, import the module and get help:
```powershell
ps: Import-Module FarLite
ps: help about_FarLite
```## Examples
```powershell
# Browse "Test.LiteDB" collections
Open-LitePanel Test.LiteDB# Browse all documents from "Log"
Open-LitePanel Test.LiteDB Log# Browse "Log" documents using specified columns
Open-LitePanel Test.LiteDB Log -Columns Message, @{e='Date'; k='DM'}, @{e='Type', w=7}# Browse filtered "Log" documents ordered by descending time
Open-LitePanel Test.LiteDB 'SELECT $ FROM Log WHERE Date > @0 ORDER BY Date DESC' ([DateTime]::Today)
```## See also
- [FarLite Release Notes](https://github.com/nightroman/FarLite/blob/main/Release-Notes.md)
- [about_FarLite.help.txt](https://github.com/nightroman/FarLite/blob/main/about_FarLite.help.txt)
- [FarMongo, similar project for MongoDB](https://github.com/nightroman/FarMongo)