geek-fun / dockit Goto Github PK
View Code? Open in Web Editor NEWDocKit | GUI clients for elasticsearch, opensearch and etc
Home Page: https://dockit.geekfun.club/
License: Apache License 2.0
DocKit | GUI clients for elasticsearch, opensearch and etc
Home Page: https://dockit.geekfun.club/
License: Apache License 2.0
devs who use Elasticsearch/OpenSearch are all pain for complex DSL queries, but to meet the complex business requirement, there is no choice but to Google, memorize, and even write down the query snippets in notes. and fall into forget nfinite loops eventually.
but with the power of AIGC, gpts will help you to memorize all of that, what you need to do is just describe the requirement in natural language, that's it!!!
dockit should prompt a dialog notice user to update to the latest version if there is any new version available
Conflicts with connection landing page
once user connect to a server, it should show a dashboard, list metrics, indices, shared, allocations etcs
https, username password auth
DocKit is not searchable in search engines like Google, Bing, and Baidu,
openai is restrict access for some locations, set HTTP proxy to allow openai to request through a proxy
remove the connection when the user clicks the remove
DoD:
user can export db data as a backup
user can import backup data to restore db
Hi,
In Kibana Devtools, it is very annoying to "fix" you data to be json, adding double quotes and comma, but not too much comma else there is a syntax error.
This feature idea is to use a relaxed json option, for example, using json5 in the editor and converting the json5 to json before sending to Elastic. This would allow a syntax that is way more fast to type, and so convenient.
Today, DocKit seems to run the relaxed json (without syntax highlighting), but the result fails ES side.
the bellow dsql should execute without any issue
// Bulk API
POST _bulk
{"index": {"_index": "dockit_sample_index", "_id": "1"}}
{"name": "Document 1"}
{"delete": {"_index": "dockit_sample_index", "_id": "2"}}
automatically release to:
Hi,
Playing with Dockit.
The UI is pretty neat!
I found it really useful to get a bunch of connections and being able to switch between them.
👍 ⭐
Do you plan to implement keyboard shortcuts?
There are the one of Kibana, like ctrl+enter that fire the underline request, which should be very common for instance.
to enable openai automatic analysis and provide code suggestions
AC:
user able to view the query history and copy & paste the query DSQL
user can execute the query history directly to the current selected db and index
user can add the history to the editor
Description
An error occurs when the content of the API response is in non-standard JSON format.
eg: ES _cat
API
Steps To Reproduce
1.Open dockit
2.creare ES connection
3.access _cat API
Environment
Elasticsearch version: 6.8.3
Operating system: MacOS 14.1.1
dockit version: 0.3.0
How are you running dockit :DocKit-0.3.0-universal.dmg
Distribute packages to supported platform includes
tasks:
Operation | Description | Command | Curl Command Sample | Status |
---|---|---|---|---|
Indexing Documents | Adds or updates a JSON document in an index. | POST_QDSL | bash curl -X POST "http://localhost:9200/my_index/_doc/1" -H 'Content-Type: application/json' -d '{"name": "Elasticsearch", "category": "Search Engine"}' |
|
Searching | Performs a search query on one or more indices. | POST_QDSL | bash curl -X GET "http://localhost:9200/my_index/_search" -H 'Content-Type: application/json' -d '{"query": {"match": {"name": "Elasticsearch"}}}' |
|
Count | Returns the number of documents that match a query. | POST_QDSL | bash curl -X GET "http://localhost:9200/my_index/_count" -H 'Content-Type: application/json' -d '{"query": {"term": {"category.keyword": "Search Engine"}}}' |
|
Get Document | Retrieves a document by its index, type, and ID. | GET_QDSL | bash curl -X GET "http://localhost:9200/my_index/_doc/1" |
|
Update Document | Updates a document without fetching it first. | POST_QDSL | bash curl -X POST "http://localhost:9200/my_index/_update/1" -H 'Content-Type: application/json' -d '{"doc": {"category": "Search Engine"}}' |
|
Delete Document | Deletes a document by its index, type, and ID. | DELETE_QDSL | bash curl -X DELETE "http://localhost:9200/my_index/_doc/1" |
|
Create Index | Creates an index. | PUT_QDSL | bash curl -X PUT "http://localhost:9200/my_index" |
|
Delete Index | Deletes an index. | DELETE_QDSL | bash curl -X DELETE "http://localhost:9200/my_index" |
|
Bulk API | Performs multiple index, create, update, or delete operations in a single request. | POST_QDSL | bash curl -X POST "http://localhost:9200/_bulk" -H 'Content-Type: application/json' -d '{"index": {"_index": "my_index", "_id": "1"}}\n{"name": "Document 1"}\n{"delete": {"_index": "my_index", "_id": "2"}}' |
|
Put Mapping | Defines a mapping for a type. | PUT_QDSL | bash curl -X PUT "http://localhost:9200/my_index/_mapping" -H 'Content-Type: application/json' -d '{"properties": {"name": {"type": "text"}}}' |
|
Get Mapping | Retrieves the mapping definition of an index. | GET_QDSL | bash curl -X GET "http://localhost:9200/my_index/_mapping" |
|
Aliases | Manages index aliases. | POST_QDSL | bash curl -X POST "http://localhost:9200/_aliases" -H 'Content-Type: application/json' -d '{"actions": [{"add": {"index": "my_index", "alias": "alias_name"}}]}' |
|
Cluster Health | Provides information about the cluster health. | GET_QDSL | bash curl -X GET "http://localhost:9200/_cluster/health" |
|
Cluster State | Returns the cluster state. | GET_QDSL | bash curl -X GET "http://localhost:9200/_cluster/state" |
|
Nodes Info | Provides information about nodes in the cluster. | GET_QDSL | bash curl -X GET "http://localhost:9200/_nodes/info" |
Hi,
On DocKit website, the download button is not working.
I think the error comes from:
TypeError: navigator.userAgentData is undefined
n https://dockit.geekfun.club/assets/chunks/theme.lK2rZp0k.js:1
Ge https://dockit.geekfun.club/assets/chunks/framework.PNMSvVW_.js:1
Se https://dockit.geekfun.club/assets/chunks/framework.PNMSvVW_.js:1
n https://dockit.geekfun.club/assets/chunks/framework.PNMSvVW_.js:1
user able to trigger a dockit chat panel like GitHub copilot chat, and interact with configured ai model
AC:
allow user to config their own openai api token, prompts in the configuration page
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.