open-index/open-npm huggingface dataset:
npm package: @suryakant/ipcountry
Description: Get IP address and Country code
Author: suryakant.patil77@gmail.com
Latest version: 1.0.5


# Get User's IP and Country

React and React Native get User's IP and Country

# Install

```
yarn add @suryakant/ipcountry
```
Or
```
npm i --save @suryakant/ipcountry
```



## API Reference

#### Methods

```
  let {ipAddress, countryCode}=await=GetIpCountry()
```
The above method will return user's IP address and country code.


#### React hook

```
  let countryCode = useGetCountryCode();
```
Hook will return the Country code i.e.: IN, US
npm package: @suryam95/cursor-export
Description: Export Cursor chat and composer history
Author: suryamvnn@gmail.com
Latest version: 1.1.7

# Cursor Export

A command-line tool to export chat history and composer data from Cursor IDE.

## Installation

```bash
npm install -g cursor-export
```

Or run directly with npx:

```bash
# Replace {scott} with your username

npx cursor-export --workspacePath="/Users/suryamanivannan/Library/Application Support/Cursor/User/workspaceStorage"

```

## Usage

```bash
cursor-export [options]

Options:
  -w, --workspacePath  Path to Cursor workspace storage
                       [default: "/Users/suryamanivannan/Library/Application Support/Cursor/User/workspaceStorage"]
  -h, --help         Show help information

Example Output:

Export completed successfully!
Total workspaces processed: 1
Output directory structure:
cursor-export-output/
  ├── html/
  │   └── <workspace_folders>/
  │       └── <timestamp>--<chat_title>.html
  ├── markdown/
  │   └── <workspace_folders>/
  │       └── <timestamp>--<chat_title>.md
  └── json/
      └── <workspace_name>.json
```

Example html file:

![](./images/2025-03-05-15-35-48.png)

## Quick Start

```bash
# Clone the repository
git clone https://github.com/yourusername/cursor-chat-composer-export.git
cd cursor-chat-composer-export

# Install dependencies
npm install

# Install globally for local testing
npm install -g .

# Run the tool locally
npm run dev
```

### Project Structure

- `index.js` - Core functionality for exporting chat history
- `cli.js` - Command line interface implementation
- `index.test.js` - Test suite

### Contributing

1. Fork the repository
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add some amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request

### Debugging

To enable debug logs, set the DEBUG environment variable:

```bash
# On Unix-like systems
DEBUG=cursor-export:* npm start

# On Windows
set DEBUG=cursor-export:* && npm start
```

## License

MIT

## Inspired by cursor-chat-browser

[cursor-chat-browser](https://github.com/thomas-pedersen/cursor-chat-browser)
npm package: @suryapratapsinghsuryavanshi/touch
Description: I'm a developer who regularly switches with multiple operating systems but in Windows, I seem to be missing a command. There are `touch` commands to create an empty file.
Author: Suryapratap Singh Suryavanshi
Latest version: 0.1.0

# touch
I'm a developer who regularly switches with multiple operating systems but in Windows, I seem to be missing a command. There are `touch` commands to create an empty file.

Use this NodeJs based CLI tool and use the touch command in your windows pc.

```sh
touch index.js # Created an empty file with name index.js
```

The primary task of the touch command is to modify the timestamp of a file or directory. But it is also used to create an empty file if the file already does not exist.

## The basic syntax of the touch command
The fundamental syntax of the touch command is
```sh
touch <options> <file or directory name>
```
The touch utility is used to modify the timestamp of a file or directory.

### The `touch` command options
| Option | Description |
| --- | --- |
| -a | Modify the access time. |
| --no-create, -c | Avoid to create new file. |
| --date=<string>, -d=<string> | Modifies the timestamp using a date string. |
| -f | Change BSD options forcefully. |
| --no-deference, -h | 	Changes a symbolic link's timestamp. |
| -m | Modify the modification, timestamp of the file. |
| --reference=<file>, -r=<file> | Change a timestamp to the refernced file's timestamp. |
| -t <stamp> | Modifies the timestamp, where the stamp is the date/time format. |
| --help | Open the help menu. |
| --version, -v | Displays the version information. |

### Create a new file
The touch command can be used to create a new file.

Prototype
```sh
touch <filename>
```

Example
```sh
touch index.js
```

### Create multiple files
The touch command can be used to create multiple files.

Prototype
```sh
touch <filename> <filename> <filename>
```

Example
```sh
touch index.js index.html index.css
```

Also provide range to create multiple files.

Prototype
```sh
touch <filename{<start>..<end>}>
```

Example
```sh
touch test{1..5}
```
Create 5 files with name test1, test2, test3, test4, test5.

Another way to create multiple files is to use the alphabatical range.

Example
```sh
touch test_{a..d}
```
Create 4 files with name test_a, test_b, test_c, test_d.