Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: EdamAme-x/kukumail.js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.2.0
Choose a base ref
...
head repository: EdamAme-x/kukumail.js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 9 commits
  • 35 files changed
  • 2 contributors

Commits on Oct 22, 2024

  1. Update index.ts

    EdamAme-x authored Oct 22, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    b5ba964 View commit details
  2. Update publish.yml

    EdamAme-x authored Oct 22, 2024
    Copy the full SHA
    4e687e5 View commit details
  3. update

    EdamAme-x committed Oct 22, 2024
    Copy the full SHA
    d127402 View commit details
  4. fix

    EdamAme-x committed Oct 22, 2024
    Copy the full SHA
    6f22df8 View commit details
  5. fix

    EdamAme-x committed Oct 22, 2024
    Copy the full SHA
    7bfe95b View commit details

Commits on Nov 24, 2024

  1. patched

    EdamAme-x authored Nov 24, 2024
    Copy the full SHA
    e189673 View commit details
  2. Copy the full SHA
    ec1ae3f View commit details
  3. Update createRequestOptions.ts

    EdamAme-x authored Nov 24, 2024
    Copy the full SHA
    861ab46 View commit details
  4. unti rate limit

    EdamAme-x authored Nov 24, 2024
    Copy the full SHA
    c3f8a23 View commit details
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ name: release
on:
push:
tags:
- '*'
- "*"

jobs:
jsr:
@@ -20,7 +20,7 @@ jobs:
- name: Install deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
deno-version: v2.x

- name: Publish to JSR
run: deno run -A jsr:@david/publish-on-tag@0.1.3
run: deno run -A jsr:@david/publish-on-tag@0.1.4
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"deno.enable": true
}
77 changes: 39 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
# kukumail.js

JavaScript Library for "m.kuku.lu"
Created by [@amex2189](https://twitter.com/amex2189)
Temp Mail | 捨てメアドサービス

注意(JP): SESSIONは何度も生成すると弾かれます。弾かれた場合はWebからcf_clearnceを取得するか、ipを変更してください。出来るだけ一度生成したら使いまわしてください。
Attention(EN): createAccount should be called only once the first time to obtain the sessionHash.

- ALL Features
- Send Email
- Create Any Email
- Get Mail
- Delete Email
- Get Mailbox
- And more
JavaScript Library for "m.kuku.lu" Created by
[@amex2189](https://twitter.com/amex2189) Temp Mail | 捨てメアドサービス

注意(JP):
SESSIONは何度も生成すると弾かれます。弾かれた場合はWebからcf_clearnceを取得するか、ipを変更してください。出来るだけ一度生成したら使いまわしてください。\
Attention(EN): createAccount should be called only once the first time to obtain
the sessionHash.

- ALL Features
- Send Email
- Create Any Email
- Get Mail
- Delete Email
- Get Mailbox
- And more

## Usage

@@ -33,30 +34,29 @@ await kukumail.initlize();
const result = await kukumail.createRandomEmail();

if (result.type === "error") {
console.error(result.data);
}else{
console.log(result.data);

const result2 = await kukumail.getReceivedMails();

if (result2.type === "error") {
console.error(result2.data);
}else {
console.log(result2.data);

if (result2.data.length === 0) {
console.log("No Received Mails")
}else {
const result3 = await kukumail.getMailContent("recv", result2.data[0].id);

if (result3.type === "error") {
console.error(result3.data);
}else {
console.log(result3.data);
}

}
console.error(result.data);
} else {
console.log(result.data);

const result2 = await kukumail.getReceivedMails();

if (result2.type === "error") {
console.error(result2.data);
} else {
console.log(result2.data);

if (result2.data.length === 0) {
console.log("No Received Mails");
} else {
const result3 = await kukumail.getMailContent("recv", result2.data[0].id);

if (result3.type === "error") {
console.error(result3.data);
} else {
console.log(result3.data);
}
}
}
}

// And more
@@ -71,5 +71,6 @@ console.log(kukumail.sessionHash);

![cookies](./assets/cookies.png)

And more: [https://jsr.io/@edamame-x/kukumailjs/doc](https://jsr.io/@edamame-x/kukumailjs/doc)
And more:
[https://jsr.io/@edamame-x/kukumailjs/doc](https://jsr.io/@edamame-x/kukumailjs/doc)
Question: [https://discord.gg/MrtfbAcP3K](https://discord.gg/MrtfbAcP3K)
Binary file removed bun.lockb
Binary file not shown.
Loading